/* ==================== AdSense 审核期间临时隐藏广告位 ==================== */
/*
 * ⚠️ 重要：这是临时代码，仅用于 AdSense 审核期间
 * 审核通过后，删除下面这段代码即可显示所有广告
 * 删除范围：从这里到 "审核期间隐藏结束" 注释之间的所有内容
 */
.adsbygoogle,
.ad-banner-top,
.ad-banner-middle,
.ad-banner-bottom,
.sidebar-ad,
.ad-sidebar-left,
.ad-sidebar-right {
    display: none !important;
    visibility: hidden !important;
}
/* ==================== 审核期间隐藏结束 ==================== */

/* ==================== 全局样式 ==================== */
:root {
    /* 渐变蓝色配色方案 */
    --primary-color: #0EA5E9;
    --primary-dark: #0284C7;
    --primary-light: #38BDF8;
    --secondary-color: #3B82F6;
    --accent-color: #06B6D4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-bg: #0f172a;
    --dark-bg-secondary: #1e293b;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 20px 25px -5px rgba(14, 165, 233, 0.1), 0 10px 10px -5px rgba(14, 165, 233, 0.04);
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-gradient-start: #f0f9ff;
    --bg-gradient-end: #e0f2fe;
}

/* 深色主题 */
[data-theme="dark"] {
    --primary-color: #38BDF8;
    --primary-dark: #0EA5E9;
    --primary-light: #7DD3FC;
    --secondary-color: #60A5FA;
    --accent-color: #22D3EE;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-light: #64748b;
    --border-color: #334155;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-gradient-start: #0f172a;
    --bg-gradient-end: #1e293b;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --card-shadow-hover: 0 20px 25px -5px rgba(14, 165, 233, 0.3), 0 10px 10px -5px rgba(14, 165, 233, 0.2);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

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

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

/* ==================== 背景 ==================== */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-primary) 50%, var(--bg-gradient-end) 100%);
}

.gradient-orb {
    display: none;
}

/* ==================== 导航栏 ==================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: translateY(-2px);
}

.nav-brand:hover .brand-name {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.logo {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(14, 165, 233, 0.3));
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(14, 165, 233, 0.4));
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
}

.logo-img:hover {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 16px rgba(14, 165, 233, 0.8))
            drop-shadow(0 0 20px rgba(14, 165, 233, 0.5));
    animation: logoFloat 2s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: scale(1.15) rotate(5deg) translateY(0px);
    }
    50% {
        transform: scale(1.15) rotate(5deg) translateY(-5px);
    }
}

.logo-img-footer {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(14, 165, 233, 0.3));
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-img-footer:hover {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 4px 12px rgba(14, 165, 233, 0.6));
}

.badge-new {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-menu a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* 主题切换按钮 */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(14, 165, 233, 0.1);
    border: 2px solid rgba(14, 165, 233, 0.2);
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 1rem;
}

.theme-icon {
    font-size: 1.3rem;
}

[data-theme="dark"] .theme-toggle {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.2);
}

/* 语言切换按钮 */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(14, 165, 233, 0.1);
    border: 2px solid rgba(14, 165, 233, 0.2);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.lang-icon {
    font-size: 1.2rem;
}

[data-theme="dark"] .lang-toggle {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.2);
}

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-glow {
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    border: 2px solid var(--primary-light);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ==================== 广告位样式 ==================== */
/* 侧边长条广告位 */
.ad-sidebar-left,
.ad-sidebar-right {
    position: fixed;
    top: 120px;
    width: 160px;
    height: 600px;
    z-index: 100;
    display: none; /* 默认隐藏 */
}

/* 只在超宽屏幕上显示侧边广告 */
@media (min-width: 1680px) {
    .ad-sidebar-left,
    .ad-sidebar-right {
        display: block;
    }

    /*
     * 计算逻辑：
     * - 容器最大宽度 1200px，居中显示
     * - 广告宽度 160px
     * - 广告应显示在容器外侧，距离容器边缘 20px
     * - 左侧广告位置 = (屏幕宽度 - 容器宽度) / 2 - 广告宽度 - 间距
     */
    .ad-sidebar-left {
        left: max(20px, calc((100vw - 1200px) / 2 - 200px));
    }

    .ad-sidebar-right {
        right: max(20px, calc((100vw - 1200px) / 2 - 200px));
    }
}

/* 中间广告位 */
.ad-banner-middle {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    min-height: 250px;
    display: block;
    width: 100%;
    text-align: center;
    overflow: visible;
}

.ad-banner-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 20px;
    min-height: 90px;
    display: block;
    width: 100%;
    text-align: center;
    overflow: visible;
}

.sidebar-ad {
    padding: 20px;
    min-height: 600px;
    display: block;
    width: 100%;
    text-align: center;
    overflow: visible;
}

/* 测试广告占位符样式 */
.ad-placeholder {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(59, 130, 246, 0.05));
    border: 2px dashed rgba(14, 165, 233, 0.3);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

[data-theme="dark"] .ad-placeholder {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(59, 130, 246, 0.1));
    border-color: rgba(56, 189, 248, 0.3);
}

.ad-placeholder-icon {
    font-size: 2.5rem;
    opacity: 0.6;
}

.ad-placeholder-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.ad-placeholder-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.ad-placeholder-size {
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--text-light);
    background: rgba(14, 165, 233, 0.1);
    padding: 4px 12px;
    border-radius: 6px;
}

/* 不同大小的广告占位符 */
.ad-placeholder.banner-top {
    min-height: 90px;
}

.ad-placeholder.banner-middle {
    min-height: 250px;
}

.ad-placeholder.banner-bottom {
    min-height: 90px;
}

.ad-placeholder.sidebar-vertical {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 0.75rem;
}

.ad-placeholder.sidebar-vertical .ad-placeholder-icon {
    font-size: 1.5rem;
}

.ad-placeholder.sidebar-vertical .ad-placeholder-title {
    font-size: 0.85rem;
    text-align: center;
}

.ad-placeholder.sidebar-vertical .ad-placeholder-desc {
    font-size: 0.7rem;
    text-align: center;
    line-height: 1.3;
}

/* ==================== 主页英雄区 ==================== */
.hero {
    background: var(--bg-primary);
    padding: 80px 0 150px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    margin: 0 auto 3rem;
    max-width: 900px;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(14, 165, 233, 0.1);
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .hero-stats {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(56, 189, 248, 0.2);
}

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

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

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
}

.version-info {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.version-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(14, 165, 233, 0.08);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-secondary);
    border: 1px solid rgba(14, 165, 233, 0.15);
    font-weight: 500;
}

[data-theme="dark"] .version-item {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.2);
}

.version-icon {
    font-size: 1.2rem;
}

/* ==================== 统计数据展示 ==================== */
.stats-section {
    padding: 80px 0;
    background: var(--bg-primary);
    margin-bottom: 60px;
}

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

.stats-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(14, 165, 233, 0.1);
}

[data-theme="dark"] .stats-card {
    background: var(--bg-secondary);
    border-color: rgba(56, 189, 248, 0.2);
}

.stats-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.stats-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.stats-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==================== 特性区域 ==================== */
.features {
    padding: 100px 0 80px;
    background: var(--bg-primary);
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.features-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card-enhanced {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(14, 165, 233, 0.1);
    display: flex;
    flex-direction: column;
    text-align: center;
}

[data-theme="dark"] .feature-card-enhanced {
    background: var(--bg-secondary);
    border-color: rgba(56, 189, 248, 0.2);
}

.feature-icon-large {
    font-size: 4rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.feature-card-enhanced h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card-enhanced p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
    display: inline-block;
    margin: 0 auto;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ==================== 用户评价 ==================== */
.testimonials {
    padding: 80px 0;
    background: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.03), rgba(255, 255, 255, 0.5));
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(14, 165, 233, 0.1);
}

[data-theme="dark"] .testimonial-card {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(30, 41, 59, 0.8));
    border-color: rgba(56, 189, 248, 0.2);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(14, 165, 233, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==================== 快速开始 ==================== */
.quick-start {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 10;
}

.steps-enhanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
    margin-top: 3rem;
}

.step-enhanced {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(14, 165, 233, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

[data-theme="dark"] .step-enhanced {
    background: var(--bg-secondary);
    border-color: rgba(56, 189, 248, 0.2);
}

.step-number-large {
    position: relative;
    margin-bottom: 1.5rem;
}

.step-number-large span {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 50%;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.step-enhanced h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-enhanced p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex: 1;
}

.step-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ==================== CTA 行动号召 ==================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
}

.cta-section::before {
    top: -200px;
    left: -200px;
}

.cta-section::after {
    bottom: -200px;
    right: -200px;
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* ==================== 页脚 ==================== */
.footer {
    background: linear-gradient(to bottom, var(--dark-bg), #020617);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 12px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.3);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* Light mode social link styles */
html:not([data-theme="dark"]) .social-link {
    background: #0EA5E9;
    color: white;
}

html:not([data-theme="dark"]) .social-link:hover {
    background: #0284C7;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.4);
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-block;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 2rem 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
}

/* ==================== 响应式设计 ==================== */

@media (max-width: 1024px) {
    .steps-enhanced {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 2rem;
        padding: 2rem;
    }

    .stat-divider {
        display: none;
    }

    .version-info {
        padding-bottom: 2rem;
        gap: 1rem;
    }

    .version-item {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        display: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    [data-theme="dark"] .nav-menu {
        background: rgba(15, 23, 42, 0.98);
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .features-grid-enhanced,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .nav-brand {
        font-size: 1.2rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* ==================== 滚动条美化 ==================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* ==================== 下载页面 ==================== */
/* 页面头部 */
.page-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    text-align: center;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.page-hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* 博客分类筛选按钮 */
.blog-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.category-btn {
    padding: 10px 24px;
    border: 2px solid rgba(14, 165, 233, 0.2);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(56, 189, 248, 0.1));
    transition: left 0.4s ease;
    z-index: -1;
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.15);
}

.category-btn:hover::before {
    left: 0;
}

.category-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: transparent;
    color: white;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
    transform: translateY(-2px);
}

.category-btn.active::before {
    display: none;
}

[data-theme="dark"] .category-btn {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(56, 189, 248, 0.3);
}

[data-theme="dark"] .category-btn:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: var(--primary-color);
}

[data-theme="dark"] .category-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: transparent;
}

/* 下载统计 */
.download-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: background 0.3s ease;
}

[data-theme="dark"] .download-stats {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

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

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

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

/* 下载主区域 */
.download-section {
    padding: 60px 0 80px;
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

.download-content-enhanced {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.download-main-enhanced {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* 增强的下载卡片 */
.download-card-enhanced {
    background: var(--bg-primary);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
    border: 2px solid rgba(14, 165, 233, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: visible;
}

[data-theme="dark"] .download-card-enhanced {
    background: var(--bg-secondary);
    border-color: rgba(56, 189, 248, 0.2);
}

.download-card-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
    border-color: var(--primary-color);
}

/* 推荐下载 */
.featured-download {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.02), rgba(255, 255, 255, 0.98));
}

[data-theme="dark"] .featured-download {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(30, 41, 59, 0.98));
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Pro 标签 */
.pro-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* 卡片图标 */
.download-card-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.download-app-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(14, 165, 233, 0.3));
    transition: transform 0.3s ease;
}

.download-card-enhanced:hover .download-app-icon {
    transform: scale(1.1) rotate(5deg);
}

/* 卡片标题 */
.download-card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.download-card-title h2 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.version-badge {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* 卡片描述 */
.download-card-desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* 规格说明 */
.download-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(14, 165, 233, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.spec-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 6px rgba(14, 165, 233, 0.3));
}

.spec-info {
    flex: 1;
}

.spec-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.spec-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* 下载按钮区域 */
.download-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Pro 功能列表 */
.pro-features {
    background: rgba(14, 165, 233, 0.03);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.pro-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.pro-feature-item:not(:last-child) {
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* 安装指南 */
.install-guide {
    background: var(--bg-primary);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
    border: 2px solid rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

[data-theme="dark"] .install-guide {
    background: var(--bg-secondary);
    border-color: rgba(56, 189, 248, 0.2);
}

.install-guide h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.guide-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-num {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.step-content a {
    color: var(--primary-color);
    font-weight: 600;
}

/* 版本历史 */
.version-history-enhanced {
    background: var(--bg-primary);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
    border: 2px solid rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

[data-theme="dark"] .version-history-enhanced {
    background: var(--bg-secondary);
    border-color: rgba(56, 189, 248, 0.2);
}

.version-history-enhanced h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.history-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.history-card {
    background: rgba(14, 165, 233, 0.03);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

.history-card:hover {
    background: rgba(14, 165, 233, 0.05);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

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

.history-version {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.history-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.history-changes {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.change-tag {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(100, 116, 139, 0.1);
    color: var(--text-secondary);
}

.change-tag.new {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.change-tag.improve {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
}

.view-all-versions {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: gap 0.3s ease;
}

.view-all-versions:hover {
    gap: 1rem;
}

/* 侧边栏 */
.download-sidebar-enhanced {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border: 2px solid rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

[data-theme="dark"] .sidebar-card {
    background: var(--bg-secondary);
    border-color: rgba(56, 189, 248, 0.2);
}

.sidebar-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.15);
}

.sidebar-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* 系统要求 */
.requirements {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.req-icon {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* 资源链接 */
.resource-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.resource-links a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.resource-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* 安全提示 */
.security-notice {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(14, 165, 233, 0.05));
    border-color: var(--success-color);
}

.security-notice h4 {
    color: var(--success-color);
}

.security-notice p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* 下载页面响应式 */
@media (max-width: 1024px) {
    .download-content-enhanced {
        grid-template-columns: 1fr;
    }

    .download-sidebar-enhanced {
        order: -1;
    }

    .sidebar-ad {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .page-hero-title {
        font-size: 2.5rem;
    }

    .download-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .download-specs {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .download-card-enhanced {
        padding: 2rem;
    }

    .install-guide,
    .version-history-enhanced {
        padding: 2rem;
    }
}

/* ==================== 教程页面 ==================== */
/* 快速导航 */
.quick-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 2px solid rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
    flex: 1;
    min-width: 140px;
    max-width: 180px;
}

[data-theme="dark"] .quick-nav-item {
    background: var(--bg-secondary);
    border-color: rgba(56, 189, 248, 0.2);
}

.quick-nav-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.2);
}

.quick-nav-icon {
    font-size: 1.8rem;
}

/* 教程布局 */
.tutorial-section {
    padding: 60px 0 80px;
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

.tutorial-layout {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 3rem;
}

/* 增强的侧边栏 */
.tutorial-sidebar-enhanced {
    position: relative;
}

.toc-sticky {
    position: sticky;
    top: 100px;
}

.toc-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(14, 165, 233, 0.2);
}

.toc-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.toc-list-enhanced {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.toc-link-enhanced {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.toc-link-enhanced:hover {
    background: rgba(14, 165, 233, 0.05);
    color: var(--primary-color);
}

.toc-link-enhanced.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(59, 130, 246, 0.1));
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.toc-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.toc-link-enhanced:not(.active) .toc-number {
    background: rgba(14, 165, 233, 0.2);
    color: var(--text-secondary);
}

/* 阅读进度 */
.reading-progress {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(14, 165, 233, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.progress-bar-bg {
    height: 8px;
    background: rgba(14, 165, 233, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
}

/* 教程内容 */
.tutorial-content-enhanced {
    position: relative;
}

.tutorial-section-card {
    background: var(--bg-primary);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--card-shadow);
    border: 2px solid rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

[data-theme="dark"] .tutorial-section-card {
    background: var(--bg-secondary);
    border-color: rgba(56, 189, 248, 0.2);
}

.tutorial-section-card:hover {
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.15);
}

.section-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(14, 165, 233, 0.3));
}

.tutorial-section-card h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* 步骤卡片 */
.tutorial-step-card {
    background: rgba(14, 165, 233, 0.03);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(14, 165, 233, 0.1);
    position: relative;
}

.step-number-badge {
    position: absolute;
    top: -12px;
    left: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.tutorial-step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tutorial-step-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.styled-list {
    padding-left: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.styled-list li {
    margin-bottom: 0.75rem;
}

.inline-code {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 0.9em;
    font-weight: 600;
}

/* 代码块 */
.code-block-enhanced {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    margin: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-lang {
    color: #94a3b8;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.copy-btn {
    background: rgba(14, 165, 233, 0.2);
    color: var(--primary-light);
    border: 1px solid var(--primary-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.code-block-enhanced pre {
    padding: 1.5rem;
    margin: 0;
    overflow-x: auto;
}

.code-block-enhanced code {
    color: #e2e8f0;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 提示框 */
.note-box-enhanced {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 4px solid;
}

.note-box-enhanced.info {
    background: rgba(14, 165, 233, 0.05);
    border-color: var(--primary-color);
}

.note-box-enhanced.warning {
    background: rgba(245, 158, 11, 0.05);
    border-color: var(--warning-color);
}

.note-box-enhanced.success {
    background: rgba(16, 185, 129, 0.05);
    border-color: var(--success-color);
}

.note-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.note-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.note-content strong {
    color: var(--text-primary);
}

/* 信息框 */
.info-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 8px;
    margin-top: 1rem;
    color: var(--text-secondary);
}

.info-icon {
    font-size: 1.2rem;
}

/* 功能高亮 */
.feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid var(--primary-color);
}

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

/* 可视化步骤 */
.steps-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.visual-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 2px solid rgba(14, 165, 233, 0.2);
    min-width: 150px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .visual-step {
    background: var(--bg-secondary);
    border-color: rgba(56, 189, 248, 0.2);
}

.visual-step-num {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
}

.visual-step-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.visual-step-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* 双列列表 */
.two-column-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.column-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 2px solid rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

[data-theme="dark"] .column-item {
    background: var(--bg-secondary);
    border-color: rgba(56, 189, 248, 0.2);
}

.column-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.15);
}

.column-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.column-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.column-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 增强的模式卡片 */
.mode-cards-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.mode-card-enhanced {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid rgba(14, 165, 233, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .mode-card-enhanced {
    background: var(--bg-secondary);
    border-color: rgba(56, 189, 248, 0.2);
}

.mode-card-enhanced:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.2);
}

.mode-card-enhanced.recommended {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(255, 255, 255, 0.98));
}

[data-theme="dark"] .mode-card-enhanced.recommended {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(30, 41, 59, 0.98));
}

.recommended-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.mode-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mode-card-enhanced h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.mode-card-enhanced p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.mode-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(100, 116, 139, 0.1);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.mode-badge.primary {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
}

/* 规则网格 */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.rule-type-card {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(14, 165, 233, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

[data-theme="dark"] .rule-type-card {
    background: var(--bg-secondary);
    border-color: rgba(56, 189, 248, 0.2);
}

.rule-type-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.15);
}

.rule-type-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.rule-type-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
}

.rule-type-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 高级功能网格 */
.advanced-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.advanced-feature-card {
    background: rgba(14, 165, 233, 0.03);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

.advanced-feature-card:hover {
    background: rgba(14, 165, 233, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.15);
}

.advanced-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.advanced-feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.advanced-feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* FAQ 增强样式 */
.faq-enhanced {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item-enhanced {
    background: var(--bg-primary);
    border-radius: 16px;
    border: 2px solid rgba(14, 165, 233, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

[data-theme="dark"] .faq-item-enhanced {
    background: var(--bg-secondary);
    border-color: rgba(56, 189, 248, 0.2);
}

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

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: rgba(14, 165, 233, 0.02);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(14, 165, 233, 0.05);
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
}

.faq-question h3 {
    flex: 1;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 0;
}

.faq-toggle {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 300;
    transition: transform 0.3s ease;
}

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

.faq-answer-enhanced {
    display: none;
    padding: 0 2rem 2rem 2rem;
}

.faq-item-enhanced.active .faq-answer-enhanced {
    display: flex;
    gap: 1rem;
    animation: slideDown 0.3s ease;
}

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

.answer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
}

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

.answer-content ul,
.answer-content ol {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.answer-content li {
    margin-bottom: 0.5rem;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

/* 教程页面响应式 */
@media (max-width: 1024px) {
    .tutorial-layout {
        grid-template-columns: 1fr;
    }

    .tutorial-sidebar-enhanced {
        order: 1;
    }

    .tutorial-content-enhanced {
        order: 2;
    }

    .tutorial-right-sidebar {
        order: 3;
    }

    .toc-sticky {
        position: relative;
        top: 0;
    }

    .mode-cards-enhanced {
        grid-template-columns: 1fr;
    }

    .two-column-list {
        grid-template-columns: 1fr;
    }
}

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

    .tutorial-section-card {
        padding: 2rem;
    }

    .rules-grid {
        grid-template-columns: 1fr;
    }

    .steps-visual {
        flex-direction: column;
    }

    .visual-step-arrow {
        transform: rotate(90deg);
    }
}

/* ==================== 博客页面 ==================== */
/* 博客页面主布局 */
.blog-page {
    padding: 60px 0 80px;
    background: var(--bg-primary);
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.blog-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* 特色文章 */
.featured-post {
    background: var(--bg-primary);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

[data-theme="dark"] .featured-post {
    background: var(--bg-secondary);
}

.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
}

.featured-post-image {
    position: relative;
    overflow: hidden;
}

.featured-post-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-post-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.featured-post-excerpt {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.featured-post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

/* 博客文章卡片 */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.blog-card {
    background: var(--bg-primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 2px solid rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 1.5rem;
}

[data-theme="dark"] .blog-card {
    background: var(--bg-secondary);
    border-color: rgba(56, 189, 248, 0.2);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.15);
}

.blog-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(59, 130, 246, 0.1));
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(59, 130, 246, 0.1));
    min-height: 180px;
}

.blog-placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(59, 130, 246, 0.05));
    border: 2px dashed rgba(14, 165, 233, 0.2);
}

.blog-placeholder-image.large {
    min-height: 350px;
}

.blog-placeholder-image.small {
    min-height: 120px;
}

.blog-placeholder-image.xlarge {
    min-height: 450px;
}

.blog-image-icon {
    font-size: 4rem;
    opacity: 0.4;
}

.blog-placeholder-image.large .blog-image-icon {
    font-size: 6rem;
}

.blog-placeholder-image.xlarge .blog-image-icon {
    font-size: 8rem;
}

.blog-placeholder-image.small .blog-image-icon {
    font-size: 3rem;
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.blog-category.comparison {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.blog-category.guide {
    background: linear-gradient(135deg, #10b981, #059669);
}

.blog-category.technical {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.blog-category.tips {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.blog-category.tutorial {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.blog-category.troubleshooting {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.blog-card-content {
    padding: 1.5rem 1.5rem 1.5rem 0;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar {
    font-size: 1.2rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-secondary);
}

.blog-date {
    color: var(--text-light);
}

.blog-read-time {
    color: var(--text-light);
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.tag {
    padding: 4px 12px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-primary);
    border: 2px solid rgba(14, 165, 233, 0.2);
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-theme="dark"] .page-btn {
    background: var(--bg-secondary);
}

.page-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.page-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: transparent;
}

.page-prev,
.page-next {
    width: auto;
    padding: 0 1rem;
}

/* 博客侧边栏 */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border: 2px solid rgba(14, 165, 233, 0.1);
}

[data-theme="dark"] .sidebar-widget {
    background: var(--bg-secondary);
    border-color: rgba(56, 189, 248, 0.2);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* 搜索小部件 */
.search-box {
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(14, 165, 233, 0.2);
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-btn {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: scale(1.05);
}

/* 热门文章小部件 */
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(14, 165, 233, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

.popular-item:hover {
    background: rgba(14, 165, 233, 0.08);
    transform: translateX(5px);
}

.popular-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

.popular-content {
    flex: 1;
}

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

.popular-views {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* 标签云小部件 */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* CTA小部件 */
.cta-widget {
    text-align: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(59, 130, 246, 0.05));
    border-color: var(--primary-color);
}

.cta-widget-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cta-widget-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.cta-widget-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.cta-widget-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0.5rem 0 2rem 0;
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.95rem;
}

/* 博客页面响应式 */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        order: -1;
    }

    .featured-post {
        grid-template-columns: 1fr;
    }

    .blog-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-page {
        padding: 40px 0 60px;
    }

    .featured-post-content {
        padding: 2rem;
    }

    .featured-post-title {
        font-size: 1.5rem;
    }

    .blog-card-content {
        padding: 1.5rem;
    }

    .blog-title {
        font-size: 1.3rem;
    }
}

/* ==================== 文章详情页面 ==================== */
/* 文章页面主布局 */
.article-page {
    padding: 40px 0 80px;
    background: var(--bg-primary);
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

.breadcrumb .separator {
    color: var(--text-light);
}

.breadcrumb .current {
    color: var(--text-primary);
    font-weight: 600;
}

/* 文章布局 */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.article-main {
    background: var(--bg-primary);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
    border: 2px solid rgba(14, 165, 233, 0.1);
}

[data-theme="dark"] .article-main {
    background: var(--bg-secondary);
    border-color: rgba(56, 189, 248, 0.2);
}

/* 文章头部 */
.article-header {
    margin-bottom: 3rem;
}

.article-category {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(14, 165, 233, 0.1);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.stat-icon {
    font-size: 1.1rem;
}

/* 分享按钮 */
.article-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.share-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 2px solid rgba(14, 165, 233, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.share-icon {
    font-size: 1.2rem;
}

/* 文章封面图 */
.article-cover {
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
}

/* 目录 */
.table-of-contents {
    background: rgba(14, 165, 233, 0.03);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 2px solid rgba(14, 165, 233, 0.1);
}

.toc-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toc-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.toc-item:hover {
    background: rgba(14, 165, 233, 0.08);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

.toc-item.active {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

/* 文章内容 */
.article-content {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 1.05rem;
}

.article-content section {
    margin-bottom: 3rem;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
}

/* 对比表格 */
.comparison-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.comparison-table th {
    padding: 1.25rem;
    text-align: left;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.comparison-table td {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    color: var(--text-secondary);
}

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

.comparison-table tr:hover {
    background: rgba(14, 165, 233, 0.03);
}

/* 性能统计卡片 */
.performance-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: rgba(14, 165, 233, 0.03);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid rgba(14, 165, 233, 0.1);
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

.stat-value strong {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 800;
}

/* 信息框 */
.info-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(14, 165, 233, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin: 1.5rem 0;
}

.info-content {
    flex: 1;
}

.info-content strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* 警告框 */
.warning-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(245, 158, 11, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--warning-color);
    margin: 1.5rem 0;
}

.warning-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.warning-content {
    flex: 1;
}

.warning-content strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.warning-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* 高亮框 */
.highlight-box {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(59, 130, 246, 0.05));
    border-radius: 16px;
    border: 2px solid var(--primary-color);
    margin: 2rem 0;
}

.highlight-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.highlight-box p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* 文章标签 */
.article-tags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 2px solid rgba(14, 165, 233, 0.1);
}

.tag-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 作者信息卡片 */
.author-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(14, 165, 233, 0.03);
    border-radius: 16px;
    border: 2px solid rgba(14, 165, 233, 0.1);
    margin: 3rem 0;
}

.author-avatar-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.author-details {
    flex: 1;
}

.author-details .author-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.author-bio {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.author-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
}

/* 相关文章 */
.related-articles {
    margin: 3rem 0;
}

.related-articles .section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.related-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

[data-theme="dark"] .related-card {
    background: var(--dark-bg-secondary);
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.15);
}

.related-image {
    overflow: hidden;
}

.related-content {
    padding: 1.5rem;
}

.related-category {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.related-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.related-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* 评论区 */
.comments-section {
    margin: 3rem 0;
}

.comments-section .section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.comments-placeholder {
    padding: 3rem;
    text-align: center;
    background: rgba(14, 165, 233, 0.03);
    border-radius: 16px;
    border: 2px dashed rgba(14, 165, 233, 0.2);
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.comments-placeholder p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* 文章详情页面响应式 */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        order: -1;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .performance-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .article-page {
        padding: 30px 0 60px;
    }

    .article-main {
        padding: 2rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-content h2 {
        font-size: 1.6rem;
    }

    .article-content h3 {
        font-size: 1.3rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar-large {
        margin: 0 auto;
    }

    .author-social {
        justify-content: center;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }
}

/* ==================== Google AdSense 占位符样式 ==================== */
/* 为本地测试环境添加可视化占位符 */
.adsbygoogle {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(59, 130, 246, 0.05));
    border: 2px dashed rgba(14, 165, 233, 0.3);
    border-radius: 12px;
    min-height: 250px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.adsbygoogle::before {
    content: '📢 Google AdSense 广告位';
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

.adsbygoogle::after {
    content: '本地测试环境 | 上线后将显示真实广告';
    position: absolute;
    bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

/* 顶部和底部横幅广告 */
.ad-banner-top .adsbygoogle,
.ad-banner-bottom .adsbygoogle {
    min-height: 90px;
}

/* 侧边栏广告 */
.sidebar-ad .adsbygoogle {
    min-height: 600px;
}

/* 深色主题 */
[data-theme="dark"] .adsbygoogle {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(59, 130, 246, 0.1));
    border-color: rgba(56, 189, 248, 0.3);
}

/* 当 AdSense 广告成功加载后，隐藏占位符效果 */
.adsbygoogle[data-ad-status="filled"]::before,
.adsbygoogle[data-ad-status="filled"]::after {
    display: none;
}

.adsbygoogle[data-ad-status="filled"] {
    background: transparent;
    border: none;
    min-height: auto;
}
