@import url('6d884ec8a4a4425e97235780fe8f1864.css');

:root {
    --primary-color: #3B82F6;
    --secondary-color: #1E40AF;
    --accent-color: #DBEAFE;
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --bg-light: #F9FAFB;
    --bg-dark: #111827;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}



/* 主区域样式 */
.hero-section {
    background: linear-gradient(135deg, #fff 0%, #f9fafb 100%);
    color: white;
    padding: 4rem 0;
}

/* 功能模块样式 */
.feature-box {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

/* 按钮样式 */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--accent-color);
}

/* 表格样式 */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem;
    text-align: left;
}

.comparison-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--bg-light);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
}

/* 图表样式 */
.chart-container {
    width: 100%;
    height: 400px;
    margin: 2rem 0;
}

/* 交互元素样式 */
.interactive-element {
    cursor: pointer;
    transition: all 0.3s ease;
}

.interactive-element:hover {
    color: var(--primary-color);
}

/* 收藏和点赞功能 */
.like-button, .bookmark-button {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-right: 1rem;
    color: var(--text-secondary);
}

.like-button.active, .bookmark-button.active {
    color: var(--primary-color);
}

/* 工具卡片样式 */
.tool-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

/* 字体大小控制 */
.font-size-control button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: var(--text-secondary);
}

.font-size-control button:hover {
    color: var(--primary-color);
}

.font-size-small {
    font-size: 0.875rem;
}

.font-size-medium {
    font-size: 1rem;
}

.font-size-large {
    font-size: 1.125rem;
} 


/* ==================== 11. 悬浮客服 ==================== */
.float-customer-service {
    position: fixed;
    right: 22px;
    bottom: 22px;
    background: #ff0909;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 3px 14px rgba(3, 183, 82, 0.4);
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
}
/* 强制a标签文字、取消下划线、白色永久生效 */
.float-customer-service a {
    color: #ffffff !important;
    text-decoration: none !important;
}
/* hover也保持白色，防止变色 */
.float-customer-service a:hover {
    color: #ffffff !important;
}
.float-customer-service:hover {
    opacity: 0.9;
    transform: scale(1.03);
}