/* ===== 基础样式重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 现代化配色方案 */
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary-color: #6b7280;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --background-color: #fafafa;
    --surface-color: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --border-color: #e5e7eb;
    
    /* 阴影效果 */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    
    /* 圆角 */
    --border-radius: 8px;
    --border-radius-sm: 6px;
    --border-radius-lg: 12px;
    
    /* 过渡效果 */
    --transition: all 0.2s ease-in-out;
}

body {
    font-family: 'system-ui', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background-color);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 导航栏样式 - 现代化简约设计 ===== */
.header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-brand h1 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    line-height: 1;
    display: flex;
    align-items: center;
    height: 40px;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    font-size: 0.9rem;
    position: relative;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    box-sizing: border-box;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(37, 99, 235, 0.1);
}

.admin-link {
    color: var(--text-secondary) !important;
    border: none;
    background: transparent;
}

.admin-link:hover {
    color: var(--primary-color) !important;
    background: rgba(37, 99, 235, 0.05) !important;
}

.admin-link:active {
    transform: translateY(0);
}

/* ===== 主要内容区域 ===== */
main {
    padding: 1.5rem 0;
}

/* ===== 快速检测区域样式 ===== */
.detection-form-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.detection-form {
    flex: 1;
    min-width: 280px;
}

#contentInput {
    width: 100%;
    min-height: 120px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
    resize: vertical;
    transition: var(--transition);
}

#contentInput:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-header {
    margin-bottom: 16px;
}

.form-header h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.char-count {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: normal;
    white-space: nowrap;
}

/* ===== 结果展示卡片样式 ===== */
.result-container {
    width: 320px;
    min-width: 280px;
    background: white;
    padding: 15px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    height: fit-content;
}

/* 内联结果容器样式 */
.result-container-inline {
    margin: 8px 0;
    padding: 8px;
    background: #f8fafc;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

/* 百分比对比横线样式 */
.result-bar-container {
    width: 100%;
}

.result-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.result-label-ai {
    color: #ef4444;
}

.result-label-human {
    color: #3b82f6;
}

.result-bar {
    display: flex;
    height: 12px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.result-bar-ai {
    height: 100%;
    background-color: #ef4444;
    transition: width 0.3s ease;
}

.result-bar-human {
    height: 100%;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

.result-conclusion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-primary);
}

.result-conclusion-text {
    font-weight: 500;
}

.result-time {
    color: var(--text-secondary);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .detection-form-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .result-container {
        width: 100%;
    }
    
    .detection-form textarea {
        min-height: 100px;
    }
    
    .result-labels,
    .result-conclusion {
        font-size: 13px;
    }
}

.result-container h4 {
    font-size: 18px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.result-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.result-item .label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.result-item .value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== 进度条样式 ===== */
.progress-bar-container {
    position: relative;
    height: 24px;
    background: var(--background-color);
    border-radius: 12px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--danger-color), var(--warning-color));
    border-radius: 12px;
    transition: width 0.5s ease-in-out;
}

.progress-bar.human {
    background: linear-gradient(90deg, var(--success-color), var(--primary-color));
}

.progress-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* ===== 置信度指示器样式 ===== */
.confidence-meter {
    position: relative;
    height: 20px;
    background: var(--background-color);
    border-radius: 10px;
    overflow: hidden;
}

.confidence-level {
    height: 100%;
    background: linear-gradient(90deg, var(--danger-color), var(--warning-color), var(--success-color));
    border-radius: 10px;
    transition: width 0.5s ease-in-out;
}

.confidence-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* ===== 结果标签样式 ===== */
.result-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.result-label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.result-value {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

.result-label.ai {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.result-label.human {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.result-label.mixed {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

/* ===== 统一标题层级样式 ===== */
h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

/* ===== 英雄区域 - 现代化简约设计 ===== */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 1rem;
}

.hero-content h1.hero-title {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    max-width: 600px;
}

/* 统一页面标题样式 */
.tools-hero-title,
.news-hero-title {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

.tools-hero-subtitle,
.news-hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-graphic {
    position: relative;
    width: 200px;
    height: 200px;
}

.graphic-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary-color) 0%, var(--primary-light) 100%);
    animation: rotate 10s linear infinite;
}

.graphic-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.9; }
}

/* ===== 卡片和容器样式 - 现代化简约设计 ===== */
.dashboard-card {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    overflow: hidden;
}

.dashboard-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.dashboard-title-section {
    flex: 1;
}

.dashboard-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: -0.025em;
}

.dashboard-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
    max-width: 400px;
}

.dashboard-stats-section {
    flex-shrink: 0;
}

.dashboard-stats {
    display: flex;
    gap: 1rem;
}

.dashboard-hero-text {
    text-align: center;
    flex: 1;
}

.dashboard-hero-text h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.dashboard-hero-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

.dashboard-stat-item {
    text-align: center;
    min-width: 70px;
}

.dashboard-stat-number {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.dashboard-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.dashboard-content {
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.detection-stats-section {
    margin-top: 0.75rem;
}

.detection-stats-header {
    margin-bottom: 1rem;
}

.stats-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.stats-icon {
    font-size: 1.25rem;
}

.stats-main-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.025em;
}

.stats-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.stat-item {
    background: var(--surface-color);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    text-align: center;
    transition: var(--transition);
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-item:hover {
    border-color: var(--primary-color);
}

.stat-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.3;
}

.stat-trend {
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
}

.stat-trend.positive {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success-color);
}

.stat-trend.negative {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 行式统计布局样式 ===== */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    background: var(--surface-color);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    margin-top: 1rem;
}

.stat-line-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
    line-height: 1.4;
}

.stat-line-item .stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

.stat-line-item .stat-value {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

.stat-line-item .stat-trend {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
}

.stat-line-item .stat-trend.positive {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success-color);
}

.stat-line-item .stat-trend.negative {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

/* 行式布局响应式适配 */
@media (max-width: 1200px) {
    .stats-row {
        gap: 1rem;
        padding: 0.875rem 1.25rem;
    }
    
    .stat-line-item {
        font-size: 0.8125rem;
    }
    
    .stat-line-item .stat-value {
        font-size: 0.9375rem;
    }
}

@media (max-width: 768px) {
    .stats-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .stat-line-item {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .stats-row {
        padding: 0.75rem;
    }
    
    .stat-line-item {
        font-size: 0.75rem;
    }
    
    .stat-line-item .stat-value {
        font-size: 0.875rem;
    }
}

/* ===== 区域标题样式 ===== */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 统计区域 ===== */
.stats-section {
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.stat-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.stat-trend {
    font-size: 0.75rem;
    color: var(--success-color);
    font-weight: 500;
}

/* ===== 检测区域 ===== */
.detection-section {
    margin-bottom: 3rem;
}

.detection-methods {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.detection-methods:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.method-tabs {
    display: flex;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.tab-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(37, 99, 235, 0.1);
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: var(--border-radius);
    margin: 0 0.25rem;
    backdrop-filter: blur(10px);
}

.tab-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
}

.tab-icon {
    font-size: 1.25rem;
}

.tab-content {
    display: none;
    padding: 0;
}

.tab-content.active {
    display: block;
}

.detection-form {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    margin: 0.75rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.form-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.detection-form textarea {
    width: 100%;
    min-height: 150px;
    padding: 1.25rem 1.5rem;
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    letter-spacing: -0.025em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.detection-form textarea:hover {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.detection-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.detection-form textarea::placeholder {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.char-count {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    white-space: nowrap;
}

.char-count::before {
    content: '📝';
    font-size: 1rem;
}

/* ===== 按钮样式 - 现代化简约设计 ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    color: white;
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.2);
    letter-spacing: -0.025em;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-large {
    padding: 0.7rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
}

#detect-text-btn, #detect-file-btn {
    background: var(--success-color);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    border: none;
}

#detect-text-btn:hover, #detect-file-btn:hover {
    background: #059669;
    transform: none;
}

.btn-secondary {
    background: var(--surface-color);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.625rem 1.25rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: -0.025em;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.btn-icon {
    font-size: 1rem;
}

/* ===== 文件上传区域 ===== */
.file-upload-area {
    padding: 2rem;
}

.upload-box {
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.upload-box:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 1.25rem;
    opacity: 0.8;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.upload-box:hover .upload-icon {
    opacity: 1;
    transform: scale(1.05);
}

.upload-box h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.upload-hint {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.file-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.file-info:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.file-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.file-icon {
    font-size: 1.5rem;
}

.file-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.file-name {
    font-weight: 500;
    color: var(--text-primary);
}

.file-size {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== 结果区域 ===== */
.results-section {
    margin-bottom: 3rem;
}

.result-card {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.result-title h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.result-time {
    font-size: 0.875rem;
    opacity: 0.9;
}

.result-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.result-content {
    padding: 2rem;
}

.overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.overview-card {
    background: linear-gradient(135deg, var(--surface-color), var(--background-color));
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.overview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.overview-icon {
    font-size: 2.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.overview-card:hover .overview-icon {
    transform: scale(1.1);
}

.ai-probability .overview-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
    color: var(--danger-color);
}

.human-probability .overview-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    color: var(--success-color);
}

.word-count .overview-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
    color: var(--primary-color);
}

.suspicious-level .overview-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    color: #f59e0b;
}

.overview-content {
    flex: 1;
}

.overview-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-probability .overview-value {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.human-probability .overview-value {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.overview-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===== 概率图表 ===== */
.probability-chart {
    background: linear-gradient(135deg, var(--surface-color), var(--background-color));
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.probability-chart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.chart-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.chart-info {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 20px;
}

.chart-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chart-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.chart-bar:last-child {
    border-bottom: none;
}

.bar-label {
    width: 120px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bar-label::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.ai-bar .bar-label::before {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.human-bar .bar-label::before {
    background: linear-gradient(135deg, #10b981, #059669);
}

.bar-container {
    flex: 1;
    height: 20px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.ai-bar .bar-fill {
    background: var(--primary-color);
}

.human-bar .bar-fill {
    background: var(--primary-color);
}

.bar-value {
    width: 80px;
    text-align: right;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
    min-width: 80px;
}

/* ===== 详细分析 ===== */
.detailed-analysis {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.analysis-section {
    background: linear-gradient(135deg, var(--surface-color), var(--background-color));
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.analysis-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.analysis-section h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.analysis-section h4::before {
    content: '📋';
    font-size: 1.5rem;
}

.analysis-details {
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.analysis-details p {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-light);
}

.analysis-details strong {
    color: var(--text-primary);
    font-weight: 600;
}

.suspicious-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.suspicious-item {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.02));
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.suspicious-item::before {
    content: '⚠️';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    background: #ef4444;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.suspicious-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.result-actions {
    display: flex;
    gap: 1.5rem;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, var(--surface-color), var(--background-color));
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    margin-top: 2rem;
    position: relative;
}

.result-actions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.btn-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    min-width: 140px;
    letter-spacing: -0.025em;
}

.btn-action.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    background: transparent;
}

.btn-action.btn-outline:hover {
    background: rgba(37, 99, 235, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: none;
}

.btn-action.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
}

.btn-action.btn-primary:hover {
    background: var(--primary-dark);
    transform: none;
}

.btn-action::after {
    font-size: 1rem;
}

.btn-action.btn-outline::after {
    content: '📋';
}

.btn-action.btn-primary::after {
    content: '🔄';
}

/* ===== 使用指南 ===== */
.guide-section {
    margin-bottom: 2rem;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.guide-card {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.guide-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.guide-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.guide-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
}

/* ===== 响应式设计 - 现代化简约适配 ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav {
        flex-direction: column;
        height: auto;
        padding: 0.5rem 1rem;
    }
    
    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 0.5rem;
        gap: 0.5rem;
    }
    
    .nav-brand h1 {
        font-size: 1.125rem;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-menu a {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    main {
        padding: 1rem 0;
    }
    
    .hero-section {
        padding: 1.5rem 1rem;
    }
    
    .hero-content h1.hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .dashboard-header {
        flex-direction: column;
        padding: 1.5rem;
        text-align: center;
    }
    
    .dashboard-stats-section {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .dashboard-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .dashboard-content {
        padding: 1rem;
    }
    
    .detection-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .detection-stat-card {
        padding: 0.75rem;
        min-height: 60px;
    }
    
    .detection-stat-value {
        font-size: 1rem;
    }
    
    .detection-stat-label {
        font-size: 0.65rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .method-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        padding: 0.75rem;
    }
    
    .detailed-analysis {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .analysis-section {
        padding: 1rem;
    }
    
    .result-actions {
        flex-direction: column;
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .btn-action {
        width: 100%;
    }
    
    .overview-cards {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .overview-card {
        padding: 1rem;
    }
    
    .probability-chart {
        padding: 1rem;
    }
    
    .chart-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .detection-form textarea {
        min-height: 100px;
        font-size: 0.9rem;
    }
    
    .form-footer {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .dashboard-title {
        font-size: 1.75rem;
    }
    
    .dashboard-subtitle {
        font-size: 1rem;
    }
    
    .dashboard-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .dashboard-stat-number {
        font-size: 1.5rem;
    }
    
    .detection-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .detection-stat-card {
        padding: 0.5rem;
        min-height: 60px;
    }
    
    .stats-main-title {
        font-size: 1.125rem;
    }
    
    .detection-stat-value {
        font-size: 1rem;
    }
    
    .detection-stat-label {
        font-size: 0.65rem;
    }
    
    .detection-stat-trend {
        font-size: 0.55rem;
        padding: 0.1rem 0.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .nav {
        padding: 0 0.75rem;
    }
    
    .nav-brand h1 {
        font-size: 1rem;
    }
    
    main {
        padding: 0.75rem 0;
    }
    
    .hero-section {
        padding: 1rem 0.75rem;
    }
    
    .hero-content h1.hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .dashboard-header {
        padding: 1rem;
    }
    
    .dashboard-content {
        padding: 0.75rem;
    }
    
    .detection-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .detection-stat-card {
        padding: 0.5rem;
        min-height: 50px;
    }
    
    .detection-stat-value {
        font-size: 0.9rem;
    }
    
    .detection-stat-label {
        font-size: 0.6rem;
    }
    
    .overview-cards {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .overview-card {
        padding: 0.75rem;
    }
    
    .form-footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-action {
        width: 100%;
    }
    
    .detection-form textarea {
        min-height: 80px;
        font-size: 0.85rem;
    }
    
    .result-item:last-child {
        border-bottom: none;
    }
}

.result-item .label {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.result-item .value {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* 概率图表样式 */
.probability-chart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.chart-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chart-label {
    font-weight: 500;
    color: var(--text-muted);
    min-width: 100px;
    font-size: 0.9rem;
}

.chart-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.bar-container {
    flex: 1;
    height: 20px;
    background: var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.bar {
    height: 100%;
    transition: width 0.5s ease-in-out;
}

.ai-bar {
    background: linear-gradient(90deg, var(--danger-color), #dc2626);
}

.human-bar {
    background: linear-gradient(90deg, var(--success-color), #16a34a);
}

/* 可疑内容标记 */
.suspicious-sections {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    margin: 1rem 0;
}

.suspicious-sections h5 {
    color: #856404;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.suspicious-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.suspicious-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #856404;
    font-size: 0.85rem;
}

.suspicious-marker {
    font-size: 1rem;
}

/* 专业分析报告样式 */
.analysis-details {
    margin-top: 1rem;
    border-top: 1px solid #e1e4e8;
    padding-top: 1rem;
}

.analysis-section {
    margin-bottom: 1.5rem;
}

.analysis-section h4 {
    color: #0366d6;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    border-bottom: 2px solid #0366d6;
    padding-bottom: 0.3rem;
}

.analysis-content {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 4px;
    padding: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.key-factors-section {
    margin-bottom: 1rem;
}

.key-factors-section h4 {
    color: #28a745;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.factors-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.factor-item {
    background: #e1e4e8;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    font-size: 0.85rem;
    color: #24292e;
}

.model-info {
    text-align: right;
    font-size: 0.8rem;
    color: #586069;
    margin-top: 0.5rem;
}

.model-label {
    font-weight: 500;
}

.model-name {
    font-style: italic;
}

/* 加载动画样式 */
.loading-spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid white;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 错误消息样式 */
.error-message {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    border-radius: 8px;
    padding: 12px;
    margin-top: 16px;
    color: #b91c1c;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-message::before {
    content: "⚠️";
    font-size: 1rem;
}

/* 成功消息样式 */
.success-message {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid #22c55e;
    border-radius: 8px;
    padding: 12px;
    margin-top: 16px;
    color: #15803d;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.success-message::before {
    content: "✅";
    font-size: 1rem;
}

/* 工具排行榜 - 现代化设计 */
.tools-ranking {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    overflow-x: auto;
}

/* 弹窗样式 */
.modal {
    display: none; /* 默认隐藏 */
    position: fixed; /* 固定定位 */
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

.modal-content {
    background-color: var(--surface-color);
    margin: 5% auto;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.modal-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.close-btn {
    color: var(--text-muted);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

/* 弹窗内表格样式 */
.model-table {
    width: 100%;
    border-collapse: collapse;
}

.model-table th,
.model-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.model-table th {
    background-color: var(--background-color);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.accuracy-cell {
    font-weight: 600;
}

/* 按钮样式 */
.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
}

.btn-secondary:hover {
    background-color: #5b6270;
    transform: translateY(-1px);
}

.btn-small {
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
}

/* 排行榜查看详情按钮样式 */
.tools-ranking .btn-secondary {
    color: var(--primary-color);
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
}

.tools-ranking h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.025em;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.ranking-description {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    min-width: 1200px;
}

.ranking-table th,
.ranking-table td {
    padding: 0.75rem 0.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.ranking-table th {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.85rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.ranking-table th.models-col {
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.ranking-table tr:hover {
    background: rgba(37, 99, 235, 0.02);
    transition: background-color 0.2s ease;
}

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

/* 列宽设置 */
.rank-col {
    width: 60px;
    font-weight: 700;
}

.tool-col {
    width: 150px;
    text-align: left !important;
    padding-left: 1rem !important;
}

.aggregate-col {
    width: 120px;
    font-weight: 700;
    color: var(--primary-color);
}

.models-col {
    width: 80px;
}

.analysis-col {
    width: 200px;
    text-align: left !important;
    padding-left: 1rem !important;
    color: var(--text-secondary);
}

/* 排名样式 */
.rank-1 {
    color: #FFD700;
    font-weight: 700;
}

.rank-2 {
    color: #C0C0C0;
    font-weight: 700;
}

.rank-3 {
    color: #CD7F32;
    font-weight: 700;
}

/* 准确率样式 */
.accuracy-high {
    color: #10B981;
    font-weight: 600;
}

.accuracy-medium {
    color: #F59E0B;
    font-weight: 600;
}

.accuracy-low {
    color: #EF4444;
    font-weight: 600;
}

/* 缺失数据样式 */
.missing-data {
    color: var(--text-muted);
    font-style: italic;
}

/* 表格容器滚动 */
.tools-ranking {
    position: relative;
}

/* 精选工具 - 现代化设计 */
.featured-tools {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.featured-tools h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.025em;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.tool-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.tool-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.tool-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tool-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.tool-tag {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tool-tag.free {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
}

.tool-tag.paid {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
}

.tool-card.ad {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border-color: #f59e0b;
    color: white;
}

.tool-card.ad h4 {
    color: white;
}

.tool-card.ad .tool-description {
    color: rgba(255, 255, 255, 0.9);
}

.tool-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
}

.tool-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tool-card h4 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.tool-card h4 a:hover {
    color: var(--primary-color);
}

/* 最新资讯 - 现代化设计 */
.latest-news {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.latest-news h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.025em;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.news-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.news-item img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--border-radius);
    flex-shrink: 0;
}

.news-content {
    flex: 1;
}

.news-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.news-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.news-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-item.ad {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border-color: #f59e0b;
    color: white;
}

.news-item.ad h4,
.news-item.ad p,
.news-item.ad .news-meta {
    color: white;
}

.news-item.ad .news-content h4 {
    color: #856404;
}

.news-item.ad .news-content p {
    color: #856404;
}

.news-item.ad .news-meta {
    color: #856404;
}

/* 页脚 - 压缩间距 */
.footer {
    background: #24292e;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.footer p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        height: auto;
        padding: 16px 20px;
    }
    
    .nav-menu {
        margin-top: 16px;
        gap: 16px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .ranking-table {
        font-size: 12px;
    }
    
    .ranking-table th,
    .ranking-table td {
        padding: 8px 12px;
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2ea44f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 工具标签样式 */
.tool-tag {
    display: inline-block;
    padding: 4px 8px;
    background-color: #f1f8ff;
    color: #0366d6;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 8px;
}

.tool-tag.free {
    background-color: #f0fff4;
    color: #22863a;
}

.tool-tag.paid {
    background-color: #fff5f5;
    color: #cb2431;
}

/* 资讯页面样式 */
.content-categories {
    margin-bottom: 30px;
    border-bottom: 1px solid #e1e4e8;
}

.category-tabs {
    display: flex;
    gap: 0;
}

.category-tab {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #586069;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.category-tab:hover {
    color: #24292e;
    background-color: #f6f8fa;
}

.category-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 600;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
}

.news-filters {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.search-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-section input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--surface-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.search-section input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filter-options {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-group label {
    font-size: 1rem;
    color: var(--text-secondary);
    white-space: nowrap;
    font-weight: 500;
}

.filter-group select {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    background: var(--surface-color);
    color: var(--text-primary);
    transition: var(--transition);
    letter-spacing: -0.025em;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--surface-color);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.section-header h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.rss-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.news-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.news-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
}

.news-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
}

.news-content h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h4 a:hover {
    color: var(--primary-color);
}

.news-summary {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.news-source {
    font-weight: 600;
    color: var(--primary-color);
}

.news-date {
    color: var(--text-muted);
}

.news-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.rss-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
}

.last-update {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.articles-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.article-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.article-header {
    margin-bottom: 1rem;
}

.article-header h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
}

.article-header h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-header h4 a:hover {
    color: var(--primary-color);
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.article-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.tutorials-list {
    display: grid;
    gap: 1rem;
}

.tutorial-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.tutorial-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.tutorial-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.tutorial-content {
    flex: 1;
}

.tutorial-content h5 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.tutorial-content h5 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tutorial-content h5 a:hover {
    color: var(--primary-color);
}

.tutorial-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.tutorial-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.popular-tags {
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.popular-tags h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.popular-tags h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 3px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.tag-cloud-item {
    padding: 0.375rem 1rem;
    background: rgba(241, 245, 249, 0.8);
    color: var(--text-primary);
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.tag-cloud-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.tag-cloud-item:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.tag-cloud-item:hover::before {
    left: 100%;
}

.tag-cloud-item:active {
    transform: translateY(0);
}

.subscription-section {
    margin: 2.5rem 0;
}

.subscription-box {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--surface-color) 0%, var(--background-color) 100%);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.subscription-box h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subscription-box p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.subscription-form {
    display: flex;
    gap: 0.75rem;
    max-width: 25rem;
    margin: 0 auto 0.75rem;
}

.subscription-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    background: var(--surface-color);
    transition: all 0.3s ease;
}

.subscription-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.subscription-hint {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.no-results {
    text-align: center;
    padding: 2.5rem;
    color: var(--text-muted);
    font-style: italic;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

/* 模态框样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none; /* 默认隐藏 */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    max-width: 50rem;
    max-height: 80vh;
    width: 90%;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 600;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--text-primary);
    background-color: var(--background-color);
}

.modal-body {
    padding: 1.5rem;
}

.article-full-content h4 {
    font-size: 1.125rem;
    margin: 1rem 0 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.article-full-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.tutorial-steps {
    margin-top: 1.5rem;
}

.tutorial-steps h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.step {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.step:last-child {
    border-bottom: none;
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    color: white;
    font-size: 0.95rem;
    z-index: 3000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.notification-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.notification-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .category-tabs {
        flex-direction: column;
    }
    
    .category-tab {
        text-align: left;
        border-bottom: 1px solid #e1e4e8;
    }
    
    .filter-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .rss-news-grid {
        grid-template-columns: 1fr;
    }
    
    .subscription-form {
        flex-direction: column;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .tutorial-item {
        flex-direction: column;
    }
    
    .tutorial-icon {
        margin-right: 0;
        margin-bottom: 12px;
    }
}

/* Q&A页面样式 - 开始 */
.page-hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: none;
    margin: 0;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.hero-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0;
    max-width: 400px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-shrink: 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* 搜索和分类区域 */
.qa-controls {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.search-container {
    margin-bottom: 1.5rem;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    max-width: 500px;
    margin: 0 auto 1rem;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: var(--text-muted);
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
    background: var(--background-color);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.search-hint {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.categories-container {
    text-align: center;
}

.categories-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.category-filter {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    background: var(--background-color);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-filter:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-filter.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

/* 主要内容布局 */
.qa-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    margin-bottom: 2rem;
}

.faq-section {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--background-color);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.section-actions {
    display: flex;
    gap: 0.75rem;
}

.sort-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--surface-color);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 侧边栏样式 */
.qa-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--background-color);
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.quick-help {
    padding: 1rem 1.5rem;
}

.help-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    cursor: pointer;
}

.help-item:hover {
    color: var(--primary-color);
}

.help-icon {
    font-size: 1.125rem;
}

.qa-container {
    max-width: 62.5rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.qa-stats {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    margin-bottom: 1.875rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-item {
    display: inline-block;
    margin: 0 1.875rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    display: block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.search-section {
    margin-bottom: 1.875rem;
}

.search-box {
    display: flex;
    gap: 0.625rem;
    max-width: 37.5rem;
    margin: 0 auto;
}

.search-box input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--surface-color);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-box button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--success-color) 0%, var(--success-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.875rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.category-tab {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--surface-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.category-tab:hover {
    background: var(--background-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.category-tab.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-list {
    margin-bottom: 2.5rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.faq-header {
    display: flex;
    align-items: flex-start;
    padding: 1.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-header:hover {
    background: var(--background-color);
}

.faq-number {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 50%;
    width: 1.875rem;
    height: 1.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.faq-content {
    flex: 1;
}

.faq-question {
    margin: 0 0 0.625rem 0;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
}

.faq-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.toggle-answer {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0;
    width: 1.875rem;
    height: 1.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.toggle-answer:hover {
    background: var(--background-color);
    color: var(--primary-color);
}

.faq-answer {
    display: none;
    padding: 0 1.25rem 1.25rem 4.688rem;
    border-top: 1px solid var(--border-color);
}

.faq-answer p {
    margin-bottom: 0.938rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.faq-example, .faq-note {
    background: var(--surface-color);
    border-left: 3px solid var(--primary-color);
    padding: 0.75rem 1rem;
    margin: 0.938rem 0;
    font-size: 0.9rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.faq-keywords {
    margin: 0.938rem 0;
}

.keyword-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    margin: 0 0.313rem 0.313rem 0;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.keyword-tag:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    transform: translateY(-1px);
}

.faq-feedback {
    margin-top: 1.25rem;
    padding-top: 0.938rem;
    border-top: 1px solid var(--border-color);
}

.feedback-btn {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    margin-left: 0.625rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.feedback-btn:hover {
    background: var(--background-color);
    transform: translateY(-1px);
}

.popular-section {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    margin-bottom: 1.875rem;
    box-shadow: var(--shadow-sm);
}

.popular-section h3 {
    margin-bottom: 0.938rem;
    color: var(--text-primary);
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popular-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.938rem;
    padding-bottom: 0.938rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.popular-item:hover {
    transform: translateX(4px);
}

.popular-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.popular-rank {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 50%;
    width: 1.563rem;
    height: 1.563rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 0.938rem;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.popular-content h5 {
    margin: 0 0 0.313rem 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.popular-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-content a:hover {
    color: var(--primary-light);
}

.popular-meta {
    display: flex;
    gap: 0.625rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.question-form-section {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.875rem;
    margin-bottom: 1.875rem;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    box-sizing: border-box;
    background: var(--surface-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    min-height: 7.5rem;
    resize: vertical;
}

.required {
    color: var(--error-color);
}

.no-results {
    text-align: center;
    padding: 2.5rem;
    color: var(--text-muted);
    background: var(--surface-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .qa-container {
        padding: 0 1rem;
    }
    
    .stat-item {
        margin: 0 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .search-box {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .category-tabs {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .category-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .faq-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .faq-number {
        margin-right: 0;
        margin-bottom: 0.75rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem 1rem;
    }
    
    .faq-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .popular-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .popular-rank {
        margin-right: 0;
        margin-bottom: 0.625rem;
    }
    
    .question-form-section {
        padding: 1.25rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .toggle-answer {
        align-self: flex-end;
        margin-top: 0.75rem;
    }
}

/* 新QA页面响应式设计 */
@media (max-width: 1024px) {
    .page-hero {
        padding: 2rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .qa-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .qa-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .qa-controls {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .search-input-wrapper {
        flex-direction: column;
        max-width: 100%;
    }
    
    .search-input {
        border-radius: var(--border-radius);
        margin-bottom: 0.75rem;
    }
    
    .search-btn {
        border-radius: var(--border-radius);
        width: 100%;
    }
    
    .category-filters {
        gap: 0.5rem;
    }
    
    .category-filter {
        padding: 0.375rem 1rem;
        font-size: 0.8rem;
    }
    
    .section-header {
        padding: 1rem 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .section-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .faq-header {
        padding: 1rem 1.25rem;
    }
    
    .faq-answer {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }
    
    .form-content {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .submit-btn,
    .cancel-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .qa-controls {
        padding: 1rem;
    }
    
    .categories-title {
        font-size: 1rem;
    }
    
    .category-filters {
        justify-content: flex-start;
    }
    
    .faq-header {
        padding: 0.75rem 1rem;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .faq-number {
        width: 2rem;
        height: 2rem;
        font-size: 0.8rem;
    }
}

/* Q&A页面样式 - 结束 */