/* ===========================================
   帮助页面专用样式 (Help Page Styles) - 全新布局设计
   采用非对称布局、分层设计、流体动画效果
   布局概念：杂志式分栏 + 瀑布流 + 浮动导航
   =========================================== */

/* ===========================================
   帮助页面主容器 - 全新分层背景设计
   =========================================== */

.help-main {
    margin-top: 80px;
    padding: 0;
    min-height: 100vh;
    background: 
        /* 主背景层 */ linear-gradient(
            45deg,
            rgba(249, 115, 22, 0.03) 0%,
            transparent 25%,
            rgba(251, 146, 60, 0.02) 50%,
            transparent 75%,
            rgba(253, 186, 116, 0.03) 100%
        ),
        /* 动态几何图形背景 */ radial-gradient(ellipse 800px 600px at 10% 20%, rgba(249, 115, 22, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 600px 800px at 90% 80%, rgba(251, 146, 60, 0.04) 0%, transparent 50%),
        /* 基础背景 */ linear-gradient(135deg, var(--warm-gray-50) 0%, rgba(255, 255, 255, 0.95) 100%);
    position: relative;
    overflow-x: hidden;
}

.help-main::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* 动态网格图案 */ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cdefs%3E%3Cpattern id='hexagons' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpolygon points='20,5 35,15 35,25 20,35 5,25 5,15' fill='none' stroke='%23f97316' stroke-width='0.5' opacity='0.1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23hexagons)'/%3E%3C/svg%3E")
        repeat;
    pointer-events: none;
    z-index: 0;
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(40px, 40px);
    }
}

.help-container {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    /* 移除最大宽度限制，采用全宽设计 */
}

/* ===========================================
   全新头部区域 - 分屏式非对称设计
   =========================================== */

.help-header-modern {
    height: 100vh;
    display: grid;
    grid-template-columns: 60% 40%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: transparent;
}

/* 左侧内容区域 */
.help-header-modern::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 115, 22, 0.05) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1;
    clip-path: polygon(0 0, 85% 0, 75% 100%, 0 100%);
    animation: slideInFromLeft 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 右侧装饰区域 */
.help-header-modern::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(225deg, rgba(249, 115, 22, 0.1) 0%, rgba(251, 146, 60, 0.08) 50%, rgba(253, 186, 116, 0.06) 100%);
    z-index: 0;
    animation: slideInFromRight 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

/* 头部内容容器 */
.help-header-content {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8% 0 10%;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* 右侧装饰内容 */
.help-header-visual {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.help-header-visual::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, rgba(251, 146, 60, 0.1) 30%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.help-header-visual::after {
    content: "💡";
    font-size: 8rem;
    position: relative;
    z-index: 1;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.help-title-modern {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: var(--space-xl);
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    line-height: 1.1;
    text-align: left;
}

.help-title-modern::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 120px;
    height: 4px;
    background: var(--gradient-warm);
    border-radius: var(--radius-full);
}

.help-subtitle-modern {
    font-size: 1.4rem;
    color: var(--warm-gray-600);
    margin-bottom: var(--space-3xl);
    line-height: 1.6;
    max-width: 80%;
    text-align: left;
    font-weight: 400;
}

/* ===========================================
   全新搜索框 - 左对齐大尺寸设计
   =========================================== */

.search-container-modern {
    position: relative;
    max-width: 100%;
    margin: 0;
}

.search-input-modern {
    width: 100%;
    max-width: 500px;
    padding: var(--space-xl) 4.5rem var(--space-xl) 4rem;
    border: 3px solid rgba(249, 115, 22, 0.2);
    border-radius: var(--radius-xl);
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.15), inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    font-weight: 500;
}

.search-input-modern::placeholder {
    color: var(--warm-gray-400);
    transition: all var(--transition-normal);
}

.search-input-modern:focus {
    outline: none;
    border-color: var(--primary-orange-400);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.15), 0 0 0 3px rgba(249, 115, 22, 0.1), inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.search-input-modern:focus::placeholder {
    color: var(--warm-gray-300);
    transform: translateX(4px);
}

.search-icon-modern {
    position: absolute;
    left: var(--space-lg);
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-orange-500);
    font-size: 1.2rem;
    transition: all var(--transition-normal);
    z-index: 1;
}

.search-container-modern:focus-within .search-icon-modern {
    color: var(--primary-orange-600);
    transform: translateY(-50%) scale(1.1);
}

.search-button-modern {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-warm);
    border: none;
    border-radius: var(--radius-full);
    width: 3rem;
    height: 3rem;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
    z-index: 1;
}

.search-button-modern:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
}

.search-button-modern:active {
    transform: translateY(-50%) scale(0.95);
}

/* ===========================================
   全新内容流布局 - 瀑布流 + 浮动导航设计
   =========================================== */

.help-content-grid {
    display: block;
    width: 100%;
    margin-top: 0;
    position: relative;
}

/* 浮动导航栏 */
.help-floating-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.2);
    z-index: 100;
    animation: slideInFromRight 1s ease-out 1s both;
}

/* 主要内容采用全宽瀑布流布局 */
.help-main-content {
    width: 100%;
    background: transparent;
    padding: 0;
    margin: 0;
    overflow: visible;
}

/* 内容区域采用普通流式布局 */
.help-content-masonry {
    padding: var(--space-2xl);
    max-width: 1200px;
    margin: 0 auto;
    display: block;
}

.help-content-masonry > * {
    margin-bottom: var(--space-3xl);
    width: 100%;
}

/* 确保所有文章链接都可见且有良好的样式 */
.help-content-masonry a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.help-content-masonry a:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* ===========================================
   现代化区域标题 - 层次化设计
   =========================================== */

.section-header-modern {
    text-align: center;
    margin: var(--space-3xl) var(--space-2xl) var(--space-2xl);
    position: relative;
    padding: var(--space-xl) 0;
}

.section-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(249, 115, 22, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-orange-700);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    transition: all var(--transition-normal);
    animation: scaleIn 0.6s ease-out;
}

.section-badge-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

.section-badge-modern i {
    animation: pulse 2s infinite;
}

.section-title-modern {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--warm-gray-900);
    margin-bottom: var(--space-lg);
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.section-title-modern::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-warm);
    border-radius: var(--radius-full);
    animation: scaleInX 0.6s ease-out 0.6s both;
}

.section-description-modern {
    font-size: 1.1rem;
    color: var(--warm-gray-600);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* ===========================================
   热门文章区域 - 现代化卡片设计
   =========================================== */

.featured-articles-modern {
    background: transparent;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin: var(--space-xl) 0 var(--space-2xl);
    position: relative;
}

.featured-card-modern {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(249, 115, 22, 0.15);
    padding: var(--space-2xl);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: scaleIn 0.8s ease-out 0.2s both;
}

.featured-card-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-warm);
    z-index: 1;
}

.featured-card-modern::after {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, rgba(251, 146, 60, 0.03) 50%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

.featured-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(249, 115, 22, 0.18), 0 4px 12px rgba(0, 0, 0, 0.12);
}

.featured-content-modern {
    position: relative;
    z-index: 2;
}

.featured-content-modern h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--warm-gray-900);
    margin-bottom: var(--space-lg);
    line-height: 1.3;
}

.featured-content-modern h3 a {
    transition: color var(--transition-normal);
}

.featured-content-modern h3 a:hover {
    color: var(--primary-orange-600);
}

.featured-content-modern p {
    color: var(--warm-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    font-size: 1.05rem;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--gradient-warm);
    color: white;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
    animation: bounceIn 0.6s ease-out 0.4s both;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    font-size: 0.9rem;
    color: var(--warm-gray-500);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.featured-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.featured-meta i {
    color: var(--primary-orange-500);
}

.btn-featured {
    background: var(--gradient-warm);
    color: white;
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    position: relative;
    overflow: hidden;
}

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

.btn-featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
}

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

.featured-visual-modern {
    background: rgba(249, 115, 22, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(249, 115, 22, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.featured-visual-modern::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulse 3s ease-in-out infinite;
}

.featured-icon-modern {
    font-size: 4.5rem;
    color: var(--primary-orange-500);
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(249, 115, 22, 0.2));
}

/* ===========================================
   简化的垂直时间线布局 - 可靠稳定的设计
   =========================================== */

.timeline-section-simple {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(249, 115, 22, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    margin: var(--space-2xl) 0;
    position: relative;
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.12);
}

.timeline-section-simple::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-warm);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.timeline-container-simple {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-2xl);
    position: relative;
    padding: var(--space-xl) var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container-simple::before {
    content: "";
    position: absolute;
    left: 15%;
    right: 15%;
    top: 30px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-orange-400), var(--primary-orange-300), var(--primary-orange-400));
    border-radius: var(--radius-full);
    z-index: 1;
}

.timeline-item-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
    flex: 1;
    text-align: center;
    animation: slideInFromBottom 0.8s ease-out both;
    max-width: 200px;
}

.timeline-item-simple:nth-child(1) {
    animation-delay: 0.2s;
}
.timeline-item-simple:nth-child(2) {
    animation-delay: 0.4s;
}
.timeline-item-simple:nth-child(3) {
    animation-delay: 0.6s;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    border: 4px solid white;
}

.timeline-content-simple {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-md) var(--space-lg);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.1);
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    text-align: center;
    min-height: 120px;
    justify-content: center;
}

/* 移除箭头，水平布局不需要 */

.timeline-content-simple:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.2);
}

.timeline-content-simple .step-badge {
    background: var(--gradient-warm);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.timeline-content-simple h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--warm-gray-900);
    margin: 0;
    line-height: 1.3;
}

.timeline-content-simple .btn-featured {
    margin: 0;
    font-size: 0.85rem;
    padding: var(--space-xs) var(--space-md);
}

.timeline-icon-simple {
    width: 45px;
    height: 45px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange-600);
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 2px solid rgba(249, 115, 22, 0.2);
    transition: all 0.3s ease;
}

.timeline-item-simple:hover .timeline-icon-simple {
    background: var(--primary-orange-100);
    border-color: var(--primary-orange-400);
    transform: scale(1.1);
}

/* ===========================================
   全新螺旋时间线布局 - 创新设计（保留但隐藏）
   =========================================== */

.timeline-section-modern {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 2px solid rgba(249, 115, 22, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    margin: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.timeline-section-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-warm);
    z-index: 1;
}

/* 螺旋时间线容器 */
.timeline-container-modern {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 0 auto;
}

/* 螺旋路径 */
.timeline-spiral-path {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    border: 3px solid transparent;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        var(--primary-orange-500),
        var(--primary-orange-400),
        var(--primary-orange-300),
        var(--primary-orange-500)
    );
    background-clip: border-box;
    animation: rotateSpiral 20s linear infinite;
}

@keyframes rotateSpiral {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* 螺旋时间线项目定位 */
.timeline-item-modern {
    position: absolute;
    width: 200px;
    animation: fadeInScale 0.8s ease-out both;
}

.timeline-item-modern:nth-child(1) {
    top: 20%;
    left: 70%;
    animation-delay: 0.5s;
}

.timeline-item-modern:nth-child(2) {
    top: 50%;
    right: 10%;
    animation-delay: 0.8s;
}

.timeline-item-modern:nth-child(3) {
    bottom: 20%;
    left: 70%;
    animation-delay: 1.1s;
}

.timeline-item-modern:nth-child(4) {
    top: 50%;
    left: 10%;
    animation-delay: 1.4s;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.timeline-item-modern:nth-child(even) .timeline-content {
    text-align: right;
    margin-right: calc(50% + 40px);
    margin-left: 0;
}

.timeline-item-modern:nth-child(odd) .timeline-content {
    text-align: left;
    margin-left: calc(50% + 40px);
    margin-right: 0;
}

.timeline-content {
    flex: 1;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(249, 115, 22, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(249, 115, 22, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.timeline-content::before {
    content: "";
    position: absolute;
    top: 30px;
    width: 0;
    height: 0;
    border: 12px solid transparent;
    z-index: 1;
}

.timeline-item-modern:nth-child(odd) .timeline-content::before {
    left: -24px;
    border-right-color: rgba(255, 255, 255, 0.9);
}

.timeline-item-modern:nth-child(even) .timeline-content::before {
    right: -24px;
    border-left-color: rgba(255, 255, 255, 0.9);
}

.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: var(--gradient-warm);
    border: 4px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3), 0 0 0 8px rgba(249, 115, 22, 0.1);
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: iconPop 0.6s ease-out both;
}

.timeline-icon:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.4), 0 0 0 12px rgba(249, 115, 22, 0.15);
}

.step-badge {
    background: var(--gradient-warm);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: var(--space-md);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
    animation: bounceIn 0.6s ease-out 0.2s both;
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--warm-gray-900);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.timeline-content p {
    color: var(--warm-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-size: 1rem;
}

/* ===========================================
   全新功能展示 - 蜂窝六边形布局
   =========================================== */

.features-grid-modern {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-lg);
    margin: var(--space-3xl) var(--space-2xl);
    padding: var(--space-2xl) 0;
}

/* 六边形功能卡片 */
.feature-card-modern {
    width: 220px;
    height: 200px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(249, 115, 22, 0.15);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-lg);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    animation: hexagonFloat 0.8s ease-out both;
}

.feature-card-modern:nth-child(1) {
    animation-delay: 0.1s;
}
.feature-card-modern:nth-child(2) {
    animation-delay: 0.2s;
}
.feature-card-modern:nth-child(3) {
    animation-delay: 0.3s;
}
.feature-card-modern:nth-child(4) {
    animation-delay: 0.4s;
}
.feature-card-modern:nth-child(5) {
    animation-delay: 0.5s;
}
.feature-card-modern:nth-child(6) {
    animation-delay: 0.6s;
}

.feature-card-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-warm);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card-modern::after {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.4s ease;
    z-index: 0;
}

@keyframes hexagonFloat {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feature-card-modern:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 16px 48px rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.3);
    background: rgba(249, 115, 22, 0.05);
}

/* 蜂窝布局偏移 */
.feature-card-modern:nth-child(even) {
    margin-top: var(--space-2xl);
}

.feature-card-modern:hover::before {
    transform: scaleX(1);
}

.feature-card-modern:hover::after {
    transform: scale(1.2);
    opacity: 0.8;
}

.feature-icon-modern {
    width: 70px;
    height: 70px;
    background: var(--gradient-warm);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    margin-bottom: var(--space-lg);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.feature-card-modern:hover .feature-icon-modern {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.feature-title-modern {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--warm-gray-900);
    margin-bottom: var(--space-md);
    line-height: 1.3;
    position: relative;
    z-index: 1;
    transition: color var(--transition-normal);
}

.feature-card-modern:hover .feature-title-modern {
    color: var(--primary-orange-700);
}

.feature-description-modern {
    color: var(--warm-gray-600);
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    transition: color var(--transition-normal);
}

.feature-card-modern:hover .feature-description-modern {
    color: var(--warm-gray-700);
}

/* ===========================================
   浮动导航面板 - 替代传统侧边栏
   =========================================== */

/* 浮动导航按钮 */
.help-floating-nav-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-warm);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.3);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulseFloat 3s ease-in-out infinite;
}

.help-floating-nav-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.4);
}

@keyframes pulseFloat {
    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 32px rgba(249, 115, 22, 0.3);
    }
    50% {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 12px 40px rgba(249, 115, 22, 0.4);
    }
}

/* 浮动导航面板 */
.help-floating-panel {
    position: fixed;
    bottom: 100px;
    right: 2rem;
    width: 320px;
    max-height: 70vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(249, 115, 22, 0.2);
    box-shadow: 0 16px 64px rgba(249, 115, 22, 0.15);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.help-floating-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* 面板内容 */
.floating-panel-content {
    padding: var(--space-xl);
}

.floating-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(249, 115, 22, 0.1);
}

.floating-panel-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--warm-gray-900);
}

.floating-panel-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--warm-gray-500);
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.floating-panel-close:hover {
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary-orange-600);
}

.sidebar-card-modern {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(249, 115, 22, 0.12);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: slideInFromRight 0.8s ease-out both;
}

.sidebar-card-modern:nth-child(1) {
    animation-delay: 0.2s;
}
.sidebar-card-modern:nth-child(2) {
    animation-delay: 0.4s;
}
.sidebar-card-modern:nth-child(3) {
    animation-delay: 0.6s;
}

.sidebar-card-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-warm);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: rgba(249, 115, 22, 0.2);
}

.sidebar-card-modern:hover::before {
    transform: scaleX(1);
}

.sidebar-header-modern {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    color: var(--warm-gray-900);
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.sidebar-header-modern i {
    color: var(--primary-orange-500);
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    position: relative;
    z-index: 1;
}

.tag-modern {
    background: rgba(249, 115, 22, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-orange-700);
    border: 1px solid rgba(249, 115, 22, 0.2);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tag-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-warm);
    transition: left 0.3s ease;
    z-index: -1;
}

.tag-modern:hover {
    transform: translateY(-2px);
    color: white;
    border-color: var(--primary-orange-400);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.tag-modern:hover::before {
    left: 0;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.sidebar-list li {
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(249, 115, 22, 0.1);
    transition: all var(--transition-normal);
    cursor: pointer;
    border-radius: var(--radius-md);
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list li:hover {
    background: rgba(249, 115, 22, 0.05);
    padding-left: var(--space-sm);
    transform: translateX(4px);
}

.sidebar-list h5 {
    color: var(--warm-gray-900);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color var(--transition-normal);
}

.sidebar-list li:hover h5 {
    color: var(--primary-orange-700);
}

.sidebar-list p {
    color: var(--warm-gray-500);
    font-size: 0.85rem;
    margin: 0;
    transition: color var(--transition-normal);
}

.sidebar-list li:hover p {
    color: var(--warm-gray-600);
}

/* ===========================================
   快速链接卡片 - 渐变设计
   =========================================== */

.quick-links-card {
    background: var(--gradient-warm);
    color: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: slideInFromRight 0.8s ease-out 0.8s both;
}

.quick-links-card::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.quick-links-card h4 {
    margin-bottom: var(--space-lg);
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.quick-links-card h4::before {
    content: "⚡";
    font-size: 1.1rem;
    animation: pulse 2s infinite;
}

.quick-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: var(--space-md) var(--space-sm);
    margin: var(--space-xs) 0;
    border-radius: var(--radius-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.quick-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
    z-index: -1;
}

.quick-link:hover {
    color: white;
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quick-link:hover::before {
    left: 0;
}

.quick-link:last-child {
    border-bottom: none;
}

/* ===========================================
   现代化动画效果定义
   =========================================== */

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

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleInX {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

@keyframes drawLine {
    from {
        height: 0;
    }
    to {
        height: 100%;
    }
}

@keyframes slideInTimeline {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes iconPop {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.5);
    }
    70% {
        transform: translateX(-50%) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

/* 滚动触发动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   全新布局响应式设计 - 适配各种设备
   =========================================== */

@media (max-width: 1024px) {
    /* 头部分屏调整 */
    .help-header-modern {
        grid-template-columns: 1fr;
        height: 80vh;
    }

    .help-header-modern::before {
        width: 100%;
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    }

    .help-header-modern::after {
        display: none;
    }

    .help-header-content {
        grid-column: 1;
        padding: 0 8%;
        text-align: center;
    }

    .help-header-visual {
        display: none;
    }

    /* 内容区域调整 */
    .help-content-masonry {
        padding: var(--space-xl);
    }

    /* 六边形功能卡片调整 */
    .features-grid-modern {
        gap: var(--space-md);
    }

    .feature-card-modern {
        width: 180px;
        height: 160px;
    }

    /* 螺旋时间线调整 */
    .timeline-spiral-path {
        width: 300px;
        height: 300px;
    }

    .timeline-item-modern {
        width: 160px;
    }
}

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

    /* 移动端头部全屏设计 */
    .help-header-modern {
        height: 100vh;
    }

    .help-header-content {
        padding: 0 6%;
    }

    .help-title-modern {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        text-align: center;
    }

    .help-subtitle-modern {
        text-align: center;
        max-width: 100%;
        font-size: 1.2rem;
    }

    .search-input-modern {
        max-width: 100%;
        padding: var(--space-lg) 3.5rem var(--space-lg) 3rem;
        font-size: 1rem;
    }

    /* 移动端内容区域 */
    .help-content-masonry {
        padding: var(--space-lg);
    }

    /* 移动端功能卡片传统网格 */
    .features-grid-modern {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        margin: var(--space-xl) var(--space-lg);
    }

    .feature-card-modern {
        width: 100%;
        height: auto;
        clip-path: none;
        border-radius: var(--radius-xl);
        padding: var(--space-xl);
        text-align: center;
    }

    .feature-card-modern:nth-child(even) {
        margin-top: 0;
    }

    /* 移动端简化时间线布局 - 改为垂直布局 */
    .timeline-section-simple {
        padding: var(--space-2xl) var(--space-lg);
    }

    .timeline-container-simple {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .timeline-container-simple::before {
        left: 30px;
        right: auto;
        top: 90px;
        bottom: 30px;
        width: 3px;
        height: auto;
        background: linear-gradient(to bottom, var(--primary-orange-400), var(--primary-orange-300), var(--primary-orange-400));
    }

    .timeline-item-simple {
        flex-direction: row;
        text-align: left;
        gap: var(--space-lg);
    }

    .timeline-number {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .timeline-content-simple {
        padding: var(--space-md) var(--space-lg);
        text-align: left;
    }

    .timeline-content-simple .step-badge {
        align-self: flex-start;
    }

    .timeline-icon-simple {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* 移动端时间线简化为垂直（兼容旧版） */
    .timeline-section-modern {
        min-height: auto;
        padding: var(--space-2xl) var(--space-lg);
    }

    .timeline-container-modern {
        height: auto;
    }

    .timeline-spiral-path {
        display: none;
    }

    .timeline-item-modern {
        position: relative;
        width: 100%;
        margin-bottom: var(--space-2xl);
        display: block;
    }

    .timeline-item-modern:nth-child(1),
    .timeline-item-modern:nth-child(2),
    .timeline-item-modern:nth-child(3),
    .timeline-item-modern:nth-child(4) {
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }

    /* 浮动面板移动端适配 */
    .help-floating-panel {
        width: calc(100vw - 2rem);
        right: 1rem;
        left: 1rem;
        bottom: 80px;
    }

    .help-floating-nav-toggle {
        bottom: 1rem;
        right: 1rem;
    }
}

@media (max-width: 640px) {
    /* 超小屏幕优化 */
    .help-header-modern {
        height: 90vh;
    }

    .help-title-modern {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .help-subtitle-modern {
        font-size: 1rem;
    }

    .search-input-modern {
        padding: var(--space-md) 3rem var(--space-md) 2.5rem;
        font-size: 0.95rem;
    }

    .feature-card-modern {
        padding: var(--space-lg);
    }

    .feature-icon-modern {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: var(--space-md);
    }

    .feature-title-modern {
        font-size: 1rem;
    }

    .feature-description-modern {
        font-size: 0.85rem;
    }

    .help-floating-panel {
        width: calc(100vw - 1rem);
        right: 0.5rem;
        left: 0.5rem;
        max-height: 60vh;
    }

    /* 超小屏幕时间线进一步简化 */
    .timeline-section-simple {
        padding: var(--space-lg);
    }

    .timeline-container-simple::before {
        left: 10px;
        width: 2px;
    }

    .timeline-item-simple {
        gap: var(--space-md);
    }

    .timeline-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .timeline-content-simple {
        padding: var(--space-sm) var(--space-md);
    }

    .timeline-content-simple h3 {
        font-size: 1.2rem;
    }

    .timeline-content-simple p {
        font-size: 0.95rem;
    }

    .timeline-icon-simple {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}
