/* ==========================================================================
   自定义Header样式 - 简洁白色背景，右对齐菜单
   ========================================================================== */

/* 重置header背景为白色，无论是否有dark类 */
.header,
.header.dark {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e8e8e8 !important;
    box-shadow: none !important;
}

/* 容器布局调整 */
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Logo样式保持左对齐 */
.header .logo {
    float: none;
    margin: 20px 0;
    order: 1;
}

/* 导航菜单移到右边 */
.header .sitenav {
    float: none;
    order: 3;
    margin-left: auto;
}

/* 菜单项简洁样式 */
.header .sitenav ul > li > a,
.header.dark .sitenav ul > li > a {
    color: #333333 !important;
    font-weight: 400;
    font-size: 15px;
    padding: 20px 15px;
    margin: 0 5px;
    border-radius: 0;
    transition: color 0.2s ease;
    position: relative;
    border-bottom: none !important;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    text-decoration: none;
}

/* 菜单项悬停效果 - 简单颜色变化 */
.header .sitenav ul li:hover > a,
.header .sitenav ul li.active a:hover,
.header .sitenav ul li a:hover,
.header.dark .sitenav ul > li > a:hover {
    color: #667eea !important;
    background: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* 当前页面菜单项样式 */
.header .sitenav ul li.current-menu-item > a,
.header .sitenav ul li.current-menu-parent > a,
.header .sitenav ul li.current-category-ancestor > a {
    color: #667eea !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* 移除所有特效 */
.header .sitenav ul > li > a::before {
    display: none !important;
}

/* 下拉菜单箭头颜色 */
.header .sitenav > ul > li.menu-item-has-children > a::after,
.header.dark .sitenav > ul > li.menu-item-has-children > a::after {
    border-top-color: #333333;
    transition: color 0.2s ease;
}

.header .sitenav > ul > li.menu-item-has-children:hover > a::after,
.header.dark .sitenav > ul > li.menu-item-has-children:hover > a::after {
    border-top-color: #667eea;
}

/* 下拉菜单简洁样式 */
.header .sitenav ul .sub-menu {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin-top: 0;
}

.header .sitenav ul .sub-menu::before {
    border-bottom-color: #e8e8e8;
}

.header .sitenav ul .sub-menu::after {
    border-bottom-color: #ffffff;
}

.header .sitenav ul .sub-menu li a,
.header.dark .sitenav ul .sub-menu li a {
    color: #333333 !important;
    padding: 10px 20px;
    margin: 0;
    border-radius: 0;
    transition: color 0.2s ease;
    font-weight: 400;
    background: none !important;
}

.header .sitenav ul .sub-menu li a:hover,
.header.dark .sitenav ul .sub-menu li a:hover {
    background: #f8f9fa !important;
    color: #667eea !important;
    transform: none !important;
    box-shadow: none !important;
}

/* 用户登录区域简洁样式 */
.header .signuser-welcome,
.header .usersign {
    order: 2;
    margin-right: 20px;
}

.header .usersign-login,
.header .usersign-register {
    color: #333333;
    padding: 10px 15px;
    border-radius: 0;
    border: 1px solid #e8e8e8;
    transition: color 0.2s ease;
    text-decoration: none;
    margin: 0 5px;
    font-weight: 400;
    background: none;
    box-shadow: none;
}

.header .usersign-login:hover,
.header .usersign-register:hover {
    background: none;
    color: #667eea !important;
    border-color: #667eea;
    transform: none;
    box-shadow: none;
}

/* 社交账号图标简洁样式 */
.header .accounts {
    order: 4;
    margin-left: 15px;
}

.header .accounts a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin: 0 5px;
    background: #f8f9fa;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    border: 1px solid #e8e8e8;
}

.header .accounts a:hover {
    transform: none;
    box-shadow: none;
    background: #667eea;
}

.header .accounts a .fa {
    color: #333333 !important;
    font-size: 16px;
    transition: color 0.2s ease;
}

.header .accounts a:hover .fa {
    color: #ffffff !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }
    
    .header .sitenav {
        order: 4;
        width: 100%;
        margin-top: 15px;
    }
    
    .header .sitenav ul > li > a {
        padding: 15px 10px;
        margin: 0 3px;
        font-size: 14px;
    }
    
    .header .accounts {
        order: 3;
        margin-left: 10px;
    }
    
    .header .accounts a {
        width: 32px;
        height: 32px;
        margin: 0 3px;
    }
}

/* 隐藏搜索相关元素和移动端按钮 */
.header .searchstart-on,
.header .searchstart-off,
.header .searchform,
.header .sitenav-on {
    display: none !important;
}

/* ============================================
   Hero 区域美化 - 优化版本
   ============================================ */

/* Hero主容器优化 */
.focusbox {
    position: relative !important;
    /* min-height: 50vh !important; */
    padding: 60px 0 70px !important;
    background: 
        linear-gradient(135deg, 
            #1a1a2e 0%, 
            #16213e 25%, 
            #0f3460 50%, 
            #533483 75%, 
            #7209b7 100%
        ) !important;
    background-size: 400% 400% !important;
    animation: gradientShift 20s ease-in-out infinite !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important;
}

/* 简化的代码背景 - 更加微妙 */
.focusbox::before {
    content: 
        'console.log("Hello World");' 
        'function() { return true; }' 
        '.class { display: flex; }' 
        'import React from "react";' 
        'SELECT * FROM users;' 
        'background: linear-gradient();' 
        'border-radius: 8px;' 
        'npm install --save' 
        'git commit -m "feat"' 
        'const data = await fetch();' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    color: rgba(255,255,255,0.03) !important;
    font-family: 'Courier New', monospace !important;
    font-size: 16px !important;
    line-height: 2.5 !important;
    white-space: pre-wrap !important;
    word-break: break-all !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: 1 !important;
    animation: codeFloatSlow 40s linear infinite !important;
    text-shadow: 0 0 20px rgba(255,255,255,0.05) !important;
}

/* 网格背景 - 更加精细 */
.focusbox::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 120px,
            rgba(255,255,255,0.015) 120px,
            rgba(255,255,255,0.015) 121px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 80px,
            rgba(255,255,255,0.015) 80px,
            rgba(255,255,255,0.015) 81px
        ),
        radial-gradient(circle at 30% 70%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(138,43,226,0.1) 0%, transparent 50%) !important;
    pointer-events: none !important;
    z-index: 2 !important;
    animation: gridMoveSubtle 60s linear infinite !important;
}

/* 主内容区域 - 左右分栏布局 */
.hero-content {
    display: flex !important;
    align-items: center !important;
    gap: 60px !important;
    min-height: 300px !important;
    margin-bottom: 40px !important;
    position: relative !important;
    z-index: 20 !important;
}

.hero-left {
    flex: 1 !important;
    max-width: 50% !important;
}

.hero-right {
    flex: 0 0 400px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

/* 标题优化 - 更加突出 */
.focusbox-title {
    font-size: 3.2rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 16px !important;
    line-height: 1.2 !important;
    text-shadow: 
        0 4px 20px rgba(0,0,0,0.5),
        0 0 40px rgba(255,255,255,0.3),
        0 2px 4px rgba(0,0,0,0.8) !important;
    position: relative !important;
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #e6f3ff 30%,
        #ffffff 60%,
        #f0f8ff 100%
    ) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    animation: titleGlowSubtle 6s ease-in-out infinite alternate !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    letter-spacing: -0.02em !important;
}

/* 简化标题装饰 */
.focusbox-title::before {
    content: '<' !important;
    position: absolute !important;
    left: -40px !important;
    top: 0 !important;
    color: rgba(138,43,226,0.8) !important;
    font-size: 2.5rem !important;
    font-family: 'Courier New', monospace !important;
    animation: blinkSubtle 4s ease-in-out infinite !important;
}

.focusbox-title::after {
    content: '/>' !important;
    position: absolute !important;
    bottom: -5px !important;
    right: -50px !important;
    color: rgba(138,43,226,0.8) !important;
    font-size: 1.2rem !important;
    font-family: 'Courier New', monospace !important;
    animation: blinkSubtle 4s ease-in-out infinite reverse !important;
}

/* 副标题优化 */
.focusbox-text {
    font-size: 1.1rem !important;
    color: rgba(255,255,255,0.9) !important;
    line-height: 1.7 !important;
    margin-bottom: 30px !important;
    text-shadow: 
        0 2px 8px rgba(0,0,0,0.4),
        0 0 20px rgba(255,255,255,0.1) !important;
    font-weight: 400 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    position: relative !important;
}

.focusbox-text::before {
    content: '// ' !important;
    color: rgba(138,43,226,0.7) !important;
    font-weight: 600 !important;
    font-family: 'Courier New', monospace !important;
}

/* 业务特色标签优化 */
.hero-features {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    margin-bottom: 0 !important;
}

.hero-feature-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    padding: 14px 18px !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
}

.hero-feature-item::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255,255,255,0.15), 
        transparent
    ) !important;
    transition: left 0.8s ease !important;
}

.hero-feature-item:hover::before {
    left: 100% !important;
}

.hero-feature-item:hover {
    background: rgba(255,255,255,0.18) !important;
    transform: translateY(-2px) !important;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.25),
        0 0 20px rgba(138,43,226,0.2) !important;
    border-color: rgba(255,255,255,0.3) !important;
}

.hero-feature-item i {
    font-size: 1.2rem !important;
    opacity: 0.9 !important;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.2)) !important;
}

/* 代码后缀优化 */
.hero-feature-item:nth-child(1)::after {
    content: '.js' !important;
    position: absolute !important;
    right: 10px !important;
    top: 4px !important;
    font-size: 0.7rem !important;
    color: rgba(255,255,255,0.4) !important;
    font-family: 'Courier New', monospace !important;
    font-weight: 600 !important;
}

.hero-feature-item:nth-child(2)::after {
    content: '.php' !important;
    position: absolute !important;
    right: 10px !important;
    top: 4px !important;
    font-size: 0.7rem !important;
    color: rgba(255,255,255,0.4) !important;
    font-family: 'Courier New', monospace !important;
    font-weight: 600 !important;
}

.hero-feature-item:nth-child(3)::after {
    content: '.vue' !important;
    position: absolute !important;
    right: 10px !important;
    top: 4px !important;
    font-size: 0.7rem !important;
    color: rgba(255,255,255,0.4) !important;
    font-family: 'Courier New', monospace !important;
    font-weight: 600 !important;
}

.hero-feature-item:nth-child(4)::after {
    content: '.css' !important;
    position: absolute !important;
    right: 10px !important;
    top: 4px !important;
    font-size: 0.7rem !important;
    color: rgba(255,255,255,0.4) !important;
    font-family: 'Courier New', monospace !important;
    font-weight: 600 !important;
}

/* 搜索框优化 */
.hero-search-box {
    width: 100% !important;
    position: relative !important;
}

.hero-search-box::before {
    content: '1  │' !important;
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: rgba(255,255,255,0.4) !important;
    font-family: 'Courier New', monospace !important;
    font-size: 0.9rem !important;
    z-index: 10 !important;
    pointer-events: none !important;
    font-weight: 600 !important;
}

.hero-search-form {
    position: relative !important;
    background: rgba(0,0,0,0.25) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    border-radius: 10px !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.2),
        inset 0 1px 2px rgba(255,255,255,0.1) !important;
    transition: all 0.3s ease !important;
    height: 54px !important;
    display: flex !important;
    align-items: center !important;
}

.hero-search-form:hover {
    background: rgba(0,0,0,0.3) !important;
    box-shadow: 
        0 15px 50px rgba(0,0,0,0.25),
        inset 0 1px 2px rgba(255,255,255,0.15),
        0 0 30px rgba(138,43,226,0.2) !important;
    transform: translateY(-1px) !important;
    border-color: rgba(255,255,255,0.35) !important;
}

.hero-search-input {
    flex: 1 !important;
    padding: 0 24px 0 65px !important;
    border: none !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    outline: none !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    height: 54px !important;
    line-height: 54px !important;
}

.hero-search-input::placeholder {
    color: rgba(255,255,255,0.55) !important;
    text-shadow: none !important;
    font-weight: 400 !important;
}

.hero-search-btn {
    position: absolute !important;
    right: 6px !important;
    top: 6px !important;
    bottom: 6px !important;
    width: 42px !important;
    border: none !important;
    background: linear-gradient(135deg, #8a2be2 0%, #9370db 50%, #ba55d3 100%) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    font-size: 1.1rem !important;
    box-shadow: 
        0 4px 15px rgba(138,43,226,0.3),
        0 0 15px rgba(138,43,226,0.2) !important;
}

.hero-search-btn:hover {
    transform: scale(1.03) !important;
    box-shadow: 
        0 6px 20px rgba(138,43,226,0.4),
        0 0 25px rgba(138,43,226,0.3) !important;
    background: linear-gradient(135deg, #7b1fa2 0%, #8e24aa 50%, #ab47bc 100%) !important;
}

/* 搜索图标样式优化 - 保持 FontAwesome 图标优先 */
.hero-search-btn i,
.hero-search-btn .fa,
.hero-search-btn .fas {
    font-size: 1rem !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    display: inline-block !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    position: relative !important;
    z-index: 3 !important;
}

/* 确保 FontAwesome 图标正确显示 */
.hero-search-btn .fas.fa-search:before,
.hero-search-btn .fa.fa-search:before {
    content: "\f002" !important;
    font-family: "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
}

/* CSS绘制的搜索图标作为备用方案 */
.hero-search-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 12px !important;
    height: 12px !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
    background: transparent !important;
    display: none !important;
    z-index: 1 !important;
}

.hero-search-btn::after {
    content: '' !important;
    position: absolute !important;
    top: 65% !important;
    left: 65% !important;
    transform: rotate(45deg) !important;
    width: 2px !important;
    height: 6px !important;
    background: #ffffff !important;
    display: none !important;
    z-index: 2 !important;
}

/* 当FontAwesome图标不可用时显示CSS图标 */
.hero-search-btn:empty::before,
.hero-search-btn:empty::after {
    display: block !important;
}

/* 确保FontAwesome图标优先显示 */
.hero-search-btn i:not(:empty) ~ ::before,
.hero-search-btn i:not(:empty) ~ ::after,
.hero-search-btn .fa:not(:empty) ~ ::before,
.hero-search-btn .fa:not(:empty) ~ ::after,
.hero-search-btn .fas:not(:empty) ~ ::before,
.hero-search-btn .fas:not(:empty) ~ ::after {
    display: none !important;
}

/* 如果仍然没有图标，添加回车符号作为最终备用方案 */
.hero-search-btn:not(:has(i)):not(:has(.fa)):not(:has(.fas)) {
    font-family: 'Arial Unicode MS', 'Segoe UI Symbol', sans-serif !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
}

.hero-search-btn:not(:has(i)):not(:has(.fa)):not(:has(.fas))::before {
    content: '↵' !important;
    display: inline-block !important;
    color: #ffffff !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    position: static !important;
    z-index: 3 !important;
}

.hero-search-btn:not(:has(i)):not(:has(.fa)):not(:has(.fas))::after {
    display: none !important;
}

/* 行动按钮优化 */
.hero-actions {
    display: flex !important;
    gap: 16px !important;
}

.hero-btn {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 16px 24px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
}

.hero-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent) !important;
    transition: left 0.8s ease !important;
}

.hero-btn:hover::before {
    left: 100% !important;
}

.hero-btn-primary {
    background: rgba(138,43,226,0.8) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    box-shadow: 
        0 6px 20px rgba(138,43,226,0.3),
        0 0 15px rgba(138,43,226,0.2) !important;
}

.hero-btn-primary:hover {
    transform: translateY(-2px) scale(1.02) !important;
    background: rgba(138,43,226,0.9) !important;
    box-shadow: 
        0 10px 30px rgba(138,43,226,0.4),
        0 0 25px rgba(138,43,226,0.3) !important;
}

.hero-btn-secondary {
    background: rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.18) !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.15),
        0 0 20px rgba(255,255,255,0.2) !important;
}

/* 统计数据优化 */
.hero-stats {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: rgba(0,0,0,0.25) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-radius: 12px !important;
    padding: 35px 25px !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.2),
        inset 0 1px 2px rgba(255,255,255,0.1) !important;
    position: relative !important;
    z-index: 20 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.hero-stats::before {
    content: '/* 数据统计 */' !important;
    position: absolute !important;
    top: 10px !important;
    left: 20px !important;
    color: rgba(138,43,226,0.6) !important;
    font-size: 0.75rem !important;
    font-family: 'Courier New', monospace !important;
    font-weight: 600 !important;
}

.hero-stat-item {
    text-align: center !important;
    flex: 1 !important;
    transition: transform 0.3s ease !important;
    position: relative !important;
}

.hero-stat-item:hover {
    transform: translateY(-3px) !important;
}

.hero-stat-number {
    display: block !important;
    font-size: 2.4rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 8px !important;
    text-shadow: 
        0 3px 15px rgba(0,0,0,0.4),
        0 0 25px rgba(255,255,255,0.3) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #e6f3ff 50%,
        #ffffff 100%
    ) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    letter-spacing: -0.02em !important;
}

.hero-stat-label {
    display: block !important;
    font-size: 0.9rem !important;
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* 优化后的动画 */
@keyframes codeFloatSlow {
    0% { transform: translateY(100%) translateX(-10%) rotate(0deg); }
    50% { transform: translateY(-20%) translateX(10%) rotate(180deg); }
    100% { transform: translateY(-120%) translateX(-10%) rotate(360deg); }
}

@keyframes gridMoveSubtle {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 40px); }
}

@keyframes blinkSubtle {
    0%, 70% { opacity: 0.8; }
    71%, 100% { opacity: 0.4; }
}

/* 基础动画 */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes titleGlowSubtle {
    0%, 100% { 
        text-shadow: 
            0 4px 20px rgba(0,0,0,0.5),
            0 0 40px rgba(255,255,255,0.3),
            0 2px 4px rgba(0,0,0,0.8);
    }
    50% { 
        text-shadow: 
            0 4px 20px rgba(0,0,0,0.5),
            0 0 50px rgba(255,255,255,0.4),
            0 2px 4px rgba(0,0,0,0.8);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column !important;
        gap: 40px !important;
        text-align: center !important;
    }
    
    .hero-left {
        max-width: 100% !important;
    }
    
    .hero-right {
        flex: none !important;
        width: 100% !important;
        max-width: 500px !important;
        margin: 0 auto !important;
    }
    
    .hero-features {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .focusbox {
        min-height: 13vh !important;
        padding: 50px 0 60px !important;
    }
    
    .focusbox-title {
        font-size: 2.5rem !important;
    }
    
    .hero-actions {
        flex-direction: column !important;
    }
    
    .hero-stats {
        flex-wrap: wrap !important;
        gap: 20px !important;
    }
    
    .hero-stat-item {
        flex: 0 0 calc(50% - 10px) !important;
    }
}

@media (max-width: 480px) {
    .focusbox {
        min-height: 40vh !important;
        padding: 40px 0 50px !important;
    }
    
    .focusbox-title {
        font-size: 2rem !important;
    }
    
    .hero-features {
        grid-template-columns: 1fr !important;
    }
    
    .hero-stat-item {
        flex: 0 0 100% !important;
    }
    
    .hero-stat-number {
        font-size: 1.8rem !important;
    }
}

/* ============================================
   文章详情页面右侧边栏优化 - 简约版本
   ============================================ */

/* 侧边栏容器优化 */
.sidebar {
    padding-left: 30px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Widget 通用样式 */
.sidebar .widget {
    margin-bottom: 30px !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Widget 标题简约样式 */
.sidebar .widget h3 {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #333333 !important;
    margin: 0 0 20px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #667eea !important;
    position: relative !important;
}

.sidebar .widget h3::before {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 30px !important;
    height: 2px !important;
    background: #667eea !important;
}

/* 定制开发服务 */
.custom-dev-card {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: inherit !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.custom-dev-card .card-title {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #333333 !important;
    margin-bottom: 15px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #667eea !important;
}

.custom-dev-card .card-desc {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    color: #666666 !important;
    margin-bottom: 15px !important;
}

.custom-dev-card .card-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 15px 0 20px !important;
}

.custom-dev-card .card-features li {
    font-size: 0.85rem !important;
    color: #555555 !important;
    margin-bottom: 8px !important;
    padding-left: 15px !important;
    position: relative !important;
    line-height: 1.5 !important;
}

.custom-dev-card .card-features li::before {
    content: '•' !important;
    position: absolute !important;
    left: 0 !important;
    color: #667eea !important;
    font-weight: bold !important;
}

.custom-dev-btn {
    background: #667eea !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    transition: background-color 0.2s ease !important;
    border: none !important;
    width: 100% !important;
    text-align: center !important;
    box-shadow: none !important;
}

.custom-dev-btn:hover {
    background: #5a67d8 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* 演示查看 */
.demo-view-card {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.demo-view-card .card-title {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #333333 !important;
    margin-bottom: 15px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #667eea !important;
}

.demo-view-card .demo-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.demo-btn {
    background: #667eea !important;
    color: #ffffff !important;
    padding: 10px 16px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    text-align: center !important;
    transition: background-color 0.2s ease !important;
    border: none !important;
    display: block !important;
    box-shadow: none !important;
}

.demo-btn:hover {
    background: #5a67d8 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.demo-btn.secondary {
    background: #64748b !important;
}

.demo-btn.secondary:hover {
    background: #475569 !important;
}

/* 联系我们 */
.contact-card {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: inherit !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    text-align: left !important;
}

.contact-card .card-title {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #333333 !important;
    margin-bottom: 15px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #667eea !important;
}

.contact-card .contact-info {
    margin-bottom: 15px !important;
}

.contact-card .contact-item {
    font-size: 0.9rem !important;
    color: #555555 !important;
    margin-bottom: 8px !important;
    line-height: 1.5 !important;
}

.contact-card .contact-item i {
    margin-right: 8px !important;
    width: 16px !important;
    color: #667eea !important;
}

.contact-wechat-btn {
    background: #07c160 !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.85rem !important;
    transition: background-color 0.2s ease !important;
    display: inline-block !important;
    box-shadow: none !important;
    border: none !important;
}

.contact-wechat-btn:hover {
    background: #06ad56 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* 服务保障 */
.service-guarantee-card {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.service-guarantee-card .card-title {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #333333 !important;
    margin-bottom: 15px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #667eea !important;
}

.service-guarantee-card .guarantee-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.service-guarantee-card .guarantee-list li {
    font-size: 0.85rem !important;
    color: #555555 !important;
    margin-bottom: 8px !important;
    padding-left: 15px !important;
    position: relative !important;
    line-height: 1.5 !important;
}

.service-guarantee-card .guarantee-list li::before {
    content: '✓' !important;
    position: absolute !important;
    left: 0 !important;
    color: #10b981 !important;
    font-weight: bold !important;
}

/* 技术栈展示 */
.tech-stack-card {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: inherit !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.tech-stack-card .card-title {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #333333 !important;
    margin-bottom: 15px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #667eea !important;
}

.tech-stack-card .tech-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.tech-stack-card .tech-tag {
    background: #f1f5f9 !important;
    color: #334155 !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.2s ease !important;
}

.tech-stack-card .tech-tag:hover {
    background: #667eea !important;
    color: #ffffff !important;
    border-color: #667eea !important;
    cursor: pointer !important;
}

/* 移除所有复杂的特效和动画 */
.custom-dev-card::before,
.custom-dev-card::after,
.demo-view-card::before,
.demo-view-card::after,
.contact-card::before,
.contact-card::after,
.service-guarantee-card::before,
.service-guarantee-card::after,
.tech-stack-card::before,
.tech-stack-card::after {
    display: none !important;
}

/* 移除悬停变换效果 */
.custom-dev-card:hover,
.demo-view-card:hover,
.contact-card:hover,
.service-guarantee-card:hover,
.tech-stack-card:hover {
    transform: none !important;
    box-shadow: none !important;
    background: none !important;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .sidebar {
        padding-left: 0 !important;
        margin-top: 30px !important;
    }
}

@media (max-width: 768px) {
    .sidebar .widget {
        margin-bottom: 25px !important;
    }
    
    .sidebar .widget h3 {
        font-size: 1.1rem !important;
    }
}

/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
    .sidebar .widget h3,
    .custom-dev-card .card-title,
    .demo-view-card .card-title,
    .contact-card .card-title,
    .service-guarantee-card .card-title,
    .tech-stack-card .card-title {
        color: #f9fafb !important;
    }
    
    .custom-dev-card .card-desc,
    .contact-card .contact-item,
    .custom-dev-card .card-features li,
    .service-guarantee-card .guarantee-list li {
        color: #d1d5db !important;
    }
    
    .tech-stack-card .tech-tag {
        background: #374151 !important;
        color: #d1d5db !important;
        border-color: #4b5563 !important;
    }
}

/* ============================================
   最新资源区域优化 - 简约版本
   ============================================ */

/* 资源区域容器优化 */
/* .section-info {
    text-align: center !important;
    padding: 40px 30px !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    margin: 30px 0 !important;
    border: 1px solid #e8e8e8 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
} */

/* 标题样式优化 */
.postmodettitle {
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    color: #333333 !important;
    margin-bottom: 15px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* 小标题样式 */
.postmodettitle small {
    display: inline-block !important;
    margin-left: 15px !important;
    font-size: 0.6em !important;
    font-weight: 400 !important;
}

/* 随机发现按钮优化 */
.random-btn {
    background: #667eea !important;
    color: #ffffff !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.85rem !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

.random-btn:hover {
    background: #5a67d8 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
}

/* 描述文字样式 */
.postmode-description {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #666666 !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    font-weight: 400 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .section-info {
        padding: 30px 20px !important;
        margin: 20px 0 !important;
        border-radius: 6px !important;
    }
    
    .postmodettitle {
        font-size: 1.5rem !important;
        margin-bottom: 12px !important;
    }
    
    .postmodettitle small {
        display: block !important;
        margin-left: 0 !important;
        margin-top: 8px !important;
    }
    
    .postmode-description {
        font-size: 0.9rem !important;
    }
    
    .random-btn {
        padding: 5px 14px !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    .postmodettitle {
        font-size: 1.3rem !important;
    }
    
    .postmode-description {
        font-size: 0.85rem !important;
    }
}

/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
    .section-info {
        background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .section-info {
        border: 2px solid rgba(255,255,255,0.5) !important;
    }
    
    .postmodettitle,
    .postmode-description {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
    }
} 