/* Hero Section Styles - 简化版本，更简洁的设计 */
.hero-section {
    background: 
        linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(139, 92, 246, 0.01) 50%, rgba(139, 92, 246, 0.02) 100%),
        linear-gradient(180deg, #F8FAFF 0%, #fafbfc 50%, #f9f9f9 100%),
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    padding: 40px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    /* 添加底部阴影，创造与下方内容的过渡效果 */
    box-shadow: inset 0 -20px 40px -20px rgba(249, 249, 249, 0.8);
}

/* 添加微妙的背景装饰元素 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.02) 0%, transparent 8px),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.02) 0%, transparent 8px),
        radial-gradient(circle at 50% 10%, rgba(139, 92, 246, 0.015) 0%, transparent 12px),
        radial-gradient(circle at 10% 60%, rgba(139, 92, 246, 0.015) 0%, transparent 10px),
        radial-gradient(circle at 90% 40%, rgba(139, 92, 246, 0.015) 0%, transparent 10px);
    background-size: 200px 200px, 300px 300px, 400px 400px, 250px 250px, 350px 350px;
    background-position: 0 0, 100px 100px, 200px 0, 0 200px, 300px 200px;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(139, 92, 246, 0.01) 50%, transparent 70%);
    background-size: 400px 400px;
    animation: shimmer 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* 背景动画效果 */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(-5px) rotate(-1deg); }
    75% { transform: translateY(-15px) rotate(0.5deg); }
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-200px) translateY(-200px); }
    50% { transform: translateX(200px) translateY(200px); }
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
    width: auto;
}

/* 网站标题部分 */
.hero-header {
    margin-bottom: 40px !important;
}

.hero-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px !important;
    gap: 16px;
    height: 60px;
}

.hero-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    position: relative;
    transition: all 0.3s ease;
}

.hero-icon:hover {
    transform: scale(1.05);
}

.hero-icon:hover .hero-svg-icon {
    filter: drop-shadow(0 6px 16px rgba(139, 92, 246, 0.3));
}

.hero-svg-icon {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.15));
    vertical-align: middle;
    transition: all 0.3s ease;
}

/* 图标内部元素动画 */
.hero-svg-icon circle,
.hero-svg-icon line {
    transition: all 0.3s ease;
}

.hero-icon:hover .hero-svg-icon circle:nth-child(3) {
    transform: scale(1.1);
}

.hero-icon:hover .hero-svg-icon line {
    opacity: 0.8;
    stroke-width: 2.5;
}

.hero-text-content {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    line-height: 1;
    height: 60px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    letter-spacing: -1px;
    line-height: 1;
    vertical-align: middle;
    display: inline-block;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-subtitle {
    display: none;
}

/* 导航标签 - 简化样式 */
.hero-nav {
    margin-bottom: 50px !important;
}

.hero-nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    overflow: visible;
    max-width: 900px;
    gap: 50px;
}

.hero-nav-item {
    flex: none;
    transition: all 0.3s ease;
}

.hero-nav-item a {
    display: block;
    padding: 0;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 16px;
    position: relative;
    text-align: center;
    background: transparent;
}

.hero-nav-item.active a {
    color: #1e293b;
    background: transparent;
}

.hero-nav-item.active a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #8b5cf6;
    border-radius: 1px;
}

.hero-nav-item a:hover {
    color: #1e293b;
    background: transparent;
}

/* 搜索框 - 简化样式 */
.hero-search {
    margin-bottom: 40px;
}

.search-container {
    position: relative;
    margin-bottom: 25px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#hero-search-form {
    display: flex !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto;
    background: #f1f5f9;
    border-radius: 28px;
    padding: 8px;
    box-shadow: none;
    border: none;
    transition: all 0.3s ease;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

#hero-search-form:focus-within {
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    width: 100% !important;
    position: relative;
    flex: 1 !important;
    min-width: 0 !important;
}

.search-icon {
    position: absolute;
    left: 24px;
    color: #ff6b35;
    font-size: 18px;
    z-index: 2;
}

#hero-search-input {
    flex: 1 !important;
    border: none !important;
    outline: none;
    padding: 18px 24px 18px 60px !important;
    font-size: 16px;
    background: transparent !important;
    color: #1e293b;
    border-radius: 22px;
    width: 100% !important;
    display: block !important;
    font-weight: 500;
    min-height: 60px;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

#hero-search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.search-btn {
    background: #8b5cf6 !important;
    border: none !important;
    border-radius: 50%;
    padding: 18px !important;
    color: #fff !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    font-size: 16px;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 600;
    min-width: 60px !important;
    min-height: 60px !important;
    flex-shrink: 0 !important;
}

.search-btn:hover {
    background: #7c3aed !important;
    transform: translateY(-1px);
}

.search-btn i {
    font-size: 18px;
}

/* 搜索引擎选项 - 简化样式 */
.search-engines {
    position: relative;
    margin-top: 20px;
}

.engine-group {
    display: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.engine-group.active {
    display: flex;
}

.engine-btn {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 16px 32px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
}

.engine-btn:hover {
    background: transparent;
    color: #8B5CF6;
    transform: translateY(-1px);
}

.engine-btn.active {
    background: transparent;
    border: none;
    color: #8B5CF6;
    font-weight: 600;
}

.engine-btn.active .engine-text {
    color: #8B5CF6;
}

.engine-btn i {
    font-size: 14px;
    opacity: 0.9;
    margin-right: 6px;
    color: inherit;
    transition: all 0.3s ease;
}

.engine-btn:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.engine-btn.active i {
    opacity: 1;
    color: #8B5CF6;
}

/* 分类页面搜索框特殊样式 */
.category-search-section {
    margin: 0 0 30px 0;
    padding: 30px 0;
    background: transparent;
}

.category-search-section .hero-search {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

.category-search-section .search-container {
    margin-bottom: 20px;
}

.category-search-section .search-engines {
    margin-top: 15px;
}

.category-search-section .hero-nav {
    margin-bottom: 20px;
    margin-top: 0;
}

.category-search-section .hero-search {
    margin-top: 0;
}

/* 兼容原有的分类页面样式 */
.taxonomy-favorites .hero-search,
.taxonomy-navigation_category .hero-search {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

.taxonomy-favorites .hero-search .search-container,
.taxonomy-navigation_category .hero-search .search-container {
    margin-bottom: 20px;
    width: auto !important;
}

.taxonomy-favorites #hero-search-form,
.taxonomy-navigation_category #hero-search-form {
    display: flex !important;
    width: auto !important;
}

.taxonomy-favorites #hero-search-input,
.taxonomy-navigation_category #hero-search-input {
    flex: 1 !important;
    width: auto !important;
    display: block !important;
    border: none !important;
    background: transparent !important;
}

.taxonomy-favorites .search-btn,
.taxonomy-navigation_category .search-btn {
    width: auto !important;
    display: inline-block !important;
    border: none !important;
}

.taxonomy-favorites .hero-search .search-engines,
.taxonomy-navigation_category .hero-search .search-engines {
    margin-top: 15px;
}

.taxonomy-favorites .hero-nav,
.taxonomy-navigation_category .hero-nav {
    margin-top: 20px;
}

/* 响应式设计 - 移动端优化 */
@media (max-width: 768px) {
    .hero-section {
        padding: 20px 0 30px;
        background: 
            linear-gradient(135deg, rgba(139, 92, 246, 0.04) 0%, rgba(139, 92, 246, 0.02) 50%, rgba(139, 92, 246, 0.03) 100%),
            linear-gradient(180deg, #F8FAFF 0%, #fafbfc 50%, #f9f9f9 100%),
            radial-gradient(circle at 30% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
        text-align: center;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        margin-top: 0;
        /* 移动端底部阴影 */
        box-shadow: inset 0 -15px 30px -15px rgba(249, 249, 249, 0.8);
    }
    
    /* 移动端简化背景装饰 */
    .hero-section::before {
        background-image: 
            radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.025) 0%, transparent 6px),
            radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.025) 0%, transparent 6px);
        background-size: 150px 150px, 200px 200px;
        animation: float 25s ease-in-out infinite;
    }
    
    .hero-section::after {
        background: linear-gradient(45deg, transparent 40%, rgba(139, 92, 246, 0.015) 60%, transparent 80%);
        background-size: 300px 300px;
        animation: shimmer 20s ease-in-out infinite;
    }
    
    .hero-container {
        padding: 0 20px;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-title {
        font-size: 32px;
        color: #000000;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        text-align: center;
        font-weight: bold;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-logo {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 40px;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .hero-icon {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }
    
    .hero-icon:hover {
        transform: scale(1.05);
    }
    
    .hero-icon:hover .hero-svg-icon {
        filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.3));
    }
    
    .hero-svg-icon {
        width: 100%;
        height: 100%;
        filter: drop-shadow(0 2px 6px rgba(139, 92, 246, 0.15));
        transition: all 0.3s ease;
    }
    
    /* 移动端图标内部元素动画 */
    .hero-svg-icon circle,
    .hero-svg-icon line {
        transition: all 0.3s ease;
    }
    
    .hero-icon:hover .hero-svg-icon circle:nth-child(1) {
        transform: scale(1.1);
    }
    
    .hero-icon:hover .hero-svg-icon line {
        opacity: 0.8;
        stroke-width: 2.5;
    }
    
    /* 强制覆盖mobile-responsive.css的grid布局 */
    .hero-nav-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        border-radius: 0;
        max-width: 100%;
        gap: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
        border: none;
        width: 100%;
        justify-content: space-between;
        margin: 0 auto 30px auto;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
        /* 覆盖grid布局 */
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        grid-auto-flow: unset !important;
    }
    
    .hero-nav-item {
        flex: 1 !important;
        min-width: 0;
        white-space: nowrap;
        display: block;
        border-bottom: none;
        text-align: center;
        /* 覆盖grid相关属性 */
        grid-column: unset !important;
        grid-row: unset !important;
    }
    
    .hero-nav-item.active {
        border-bottom: none;
    }
    
    .hero-nav-item a {
        padding: 15px 8px;
        font-size: 14px;
        border-radius: 0;
        color: #333333;
        text-decoration: none;
        display: block;
        transition: all 0.3s ease;
        background: transparent;
        width: 100%;
        box-sizing: border-box;
    }
    
    #hero-search-form {
        display: flex;
        padding: 0;
        border-radius: 20px;
        max-width: 100%;
        background: #f0f0f0;
        box-shadow: none;
        border: none;
        width: 100%;
        margin: 0 auto 25px auto;
        box-sizing: border-box;
        position: relative;
    }
    
    .search-input-wrapper {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
    }
    
    .search-icon {
        position: absolute;
        left: 16px;
        color: #ff0000;
        font-size: 18px;
        z-index: 2;
    }
    
    #hero-search-input {
        padding: 14px 16px 14px 50px;
        font-size: 16px;
        min-height: 48px;
        border-radius: 20px;
        border: none;
        background: transparent;
        color: #333;
        outline: none;
        flex: 1;
        width: 100%;
        min-width: 0;
    }
    
    .search-btn {
        padding: 12px;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        background: #8B5CF6;
        border: none;
        border-radius: 50%;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-right: 4px;
    }
    
    .search-engines {
        margin-top: 15px;
        position: relative;
    }
    
    .search-engines::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #e0e0e0;
    }
    
    .engine-group {
        gap: 8px;
        justify-content: center;
        display: none; /* 默认隐藏 */
        flex-wrap: wrap;
        padding: 15px;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        border: none;
        margin-top: 15px;
        animation: fadeIn 0.3s ease;
    }
    
    .engine-group.active {
        display: flex !important; /* 活跃状态时显示 */
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .engine-btn {
        padding: 8px 12px;
        font-size: 13px;
        min-height: 32px;
        border-radius: 0;
        background: transparent;
        border: none;
        color: #666;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
    }
    
    .engine-btn.active {
        background: transparent;
        color: #8B5CF6;
        border: none;
    }
} /* 关闭 @media (max-width: 768px) */

/* 小屏幕移动端优化 */
@media (max-width: 480px) {
    .hero-section {
        padding: 15px 0 25px !important;
        background: 
            linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(139, 92, 246, 0.03) 50%, rgba(139, 92, 246, 0.04) 100%) !important,
            linear-gradient(180deg, #F8FAFF 0%, #fafbfc 50%, #f9f9f9 100%) !important;
        box-shadow: inset 0 -10px 25px -10px rgba(249, 249, 249, 0.8) !important;
    }
    
    .hero-container {
        padding: 0 25px !important;
    }
    
    .hero-title {
        font-size: 28px !important;
        gap: 10px !important;
    }
    
    .hero-logo {
        gap: 12px !important;
        margin-bottom: 30px !important;
    }
    
    .hero-icon {
        width: 44px !important;
        height: 44px !important;
    }
    
    .hero-nav-list {
        gap: 0 !important;
        margin-bottom: 25px !important;
    }
    
    .hero-nav-item a {
        padding: 12px 6px !important;
        font-size: 13px !important;
    }
    
    /* 搜索框小屏幕优化 */
    #hero-search-form {
        padding: 0 !important;
        border-radius: 20px !important;
        margin: 0 auto 20px auto !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    #hero-search-input {
        padding: 12px 16px 12px 45px !important;
        font-size: 15px !important;
        min-height: 44px !important;
        border-radius: 20px !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    
    .search-btn {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 10px !important;
        flex-shrink: 0 !important;
    }
    
    .search-btn i {
        font-size: 16px !important;
    }
    
    .search-icon {
        left: 14px !important;
        font-size: 16px !important;
    }
    
    /* 搜索引擎按钮优化 */
    .search-engines {
        margin-top: 15px !important;
    }
    
    .engine-group {
        gap: 6px !important;
        padding: 12px !important;
    }
    
    .engine-btn {
        padding: 12px 20px !important;
        font-size: 14px !important;
        min-height: 40px !important;
    }
}

/* 超小屏幕优化 - 360px以下 */
@media (max-width: 360px) {
    .hero-section {
        padding: 10px 0 20px !important;
        background: linear-gradient(180deg, #F8FAFF 0%, #fafbfc 50%, #f9f9f9 100%) !important;
        box-shadow: inset 0 -8px 20px -8px rgba(249, 249, 249, 0.8) !important;
    }
    
    .hero-container {
        padding: 0 10px !important;
    }
    
    .hero-title {
        font-size: 24px !important;
        gap: 8px !important;
    }
    
    .hero-logo {
        gap: 8px !important;
        margin-bottom: 25px !important;
    }
    
    .hero-icon {
        width: 40px !important;
        height: 40px !important;
    }
    
    .hero-nav-list {
        margin-bottom: 20px !important;
    }
    
    .hero-nav-item a {
        padding: 10px 4px !important;
        font-size: 12px !important;
    }
    
    /* 搜索框超小屏幕优化 */
    #hero-search-form {
        padding: 0 !important;
        border-radius: 18px !important;
        margin: 0 auto 20px auto !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    #hero-search-input {
        padding: 10px 16px 10px 40px !important;
        font-size: 14px !important;
        min-height: 40px !important;
        border-radius: 18px !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    
    .search-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        padding: 8px !important;
        flex-shrink: 0 !important;
    }
    
    .search-btn i {
        font-size: 14px !important;
    }
    
    .search-icon {
        left: 12px !important;
        font-size: 15px !important;
    }
    
    /* 搜索引擎按钮优化 */
    .search-engines {
        margin-top: 12px !important;
    }
    
    .engine-group {
        gap: 6px !important;
        padding: 12px !important;
    }
    
    .engine-btn {
        padding: 5px 8px !important;
        font-size: 10px !important;
        min-height: 26px !important;
        border-radius: 0 !important;
    }
}

/* 极小屏幕优化 - 280px以下 */
@media (max-width: 280px) {
    .hero-section {
        padding: 8px 0 15px !important;
        background: linear-gradient(180deg, #F8FAFF 0%, #fafbfc 50%, #f9f9f9 100%) !important;
        box-shadow: inset 0 -6px 15px -6px rgba(249, 249, 249, 0.8) !important;
    }
    
    .hero-container {
        padding: 0 8px !important;
    }
    
    .hero-title {
        font-size: 18px !important;
    }
    
    .hero-subtitle {
        font-size: 11px !important;
    }
    
    .hero-logo {
        gap: 6px !important;
        margin-bottom: 20px !important;
    }
    
    .hero-icon {
        width: 24px !important;
        height: 24px !important;
    }
    
    /* 导航标签极小屏幕优化 */
    .hero-nav-list {
        margin: 0 auto 15px auto !important;
    }
    
    .hero-nav-item a {
        padding: 8px 3px !important;
        font-size: 10px !important;
    }
    
    /* 搜索框极小屏幕优化 */
    #hero-search-form {
        border-radius: 14px !important;
        margin: 0 auto 15px auto !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    #hero-search-input {
        padding: 8px 10px 8px 32px !important;
        font-size: 12px !important;
        min-height: 34px !important;
        border-radius: 14px !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    
    .search-btn {
        padding: 6px !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        flex-shrink: 0 !important;
    }
    
    .search-btn i {
        font-size: 12px !important;
    }
    
    .search-icon {
        left: 10px !important;
        font-size: 12px !important;
    }
    
    /* 搜索引擎按钮极小屏幕优化 */
    .search-engines {
        margin-top: 10px !important;
    }
    
    .engine-group {
        gap: 4px !important;
        padding: 10px !important;
    }
    
    .engine-btn {
        padding: 4px 6px !important;
        font-size: 9px !important;
        min-height: 24px !important;
    }
}

/* 桌面端默认样式 */
@media (min-width: 769px) {
    .hero-section {
        padding: 40px 0 60px;
        background: 
            linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(139, 92, 246, 0.01) 50%, rgba(139, 92, 246, 0.02) 100%), 
            linear-gradient(180deg, #EFC3CA 0%, #F9E1E5 50%, #f5f2f8 100%), 
            radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%), 
            radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
        text-align: center;
        /* 桌面端底部阴影 */
        box-shadow: inset 0 -25px 50px -25px rgba(249, 249, 249, 0.8);
    }
    
    .hero-container {
        padding: 0 40px;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 48px;
        color: #1e293b;
        margin-bottom: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
    
    .hero-logo {
        flex-direction: row;
        gap: 20px;
        margin-bottom: 50px;
        align-items: center;
        justify-content: center;
    }
    
    .hero-icon {
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 确保桌面端也使用flex布局 */
    .hero-nav-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        border-radius: 0;
        max-width: 600px;
        gap: 50px;
        padding: 0;
        background: transparent;
        box-shadow: none;
        border: none;
        width: auto;
        justify-content: center;
        margin: 0 auto 50px auto;
        /* 覆盖可能的grid布局 */
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        grid-auto-flow: unset !important;
    }
    
    .hero-nav-item {
        flex: none !important;
        min-width: 120px;
        white-space: nowrap;
        display: inline-block;
        /* 覆盖grid相关属性 */
        grid-column: unset !important;
        grid-row: unset !important;
    }
    
    .hero-nav-item a {
        padding: 16px 20px;
        font-size: 16px;
        border-radius: 0;
        color: #333333;
        text-decoration: none;
        display: block;
        transition: all 0.3s ease;
        background: transparent;
    }
    
    .hero-nav-item.active a {
        background: transparent;
        color: #1e293b;
    }
    
    #hero-search-form {
        display: flex;
        padding: 6px;
        border-radius: 32px;
        max-width: 600px;
        background: #f1f5f9;
        box-shadow: none;
        border: none;
        width: auto;
        margin: 0 auto;
    }
    
    #hero-search-input {
        padding: 18px 20px 18px 60px;
        font-size: 18px;
        min-height: 60px;
        border-radius: 28px;
        border: none;
        background: transparent;
        color: #1e293b;
        outline: none;
        flex: 1;
    }
    
    .search-btn {
        padding: 18px;
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
        background: #8B5CF6;
        border: none;
        border-radius: 50%;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .search-engines {
        margin-top: 30px;
    }
    
    .engine-group {
        gap: 30px;
        justify-content: center;
        display: none; /* 默认隐藏 */
        flex-wrap: wrap;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    .engine-group.active {
        display: flex !important; /* 活跃状态时显示 */
    }
    
    .engine-btn {
        padding: 16px 24px;
        font-size: 14px;
        min-height: 44px;
        border-radius: 0;
        background: transparent;
        border: none;
        color: #64748b;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .engine-btn:hover {
        background: transparent;
        color: #8B5CF6;
        transform: translateY(-1px);
    }
    
    .engine-btn.active {
        background: transparent;
        color: #8B5CF6;
        border: none;
        font-weight: 600;
    }
}

/* 强制覆盖其他CSS文件的冲突样式 */
.hero-section,
.hero-container,
.hero-header,
.hero-logo,
.hero-icon,
.hero-title,
.hero-nav,
.hero-nav-list,
.hero-nav-item,
.hero-search,
.search-container,
#hero-search-form,
.search-input-wrapper,
#hero-search-input,
.search-btn,
.search-engines,
.engine-group,
.engine-btn {
    box-sizing: border-box !important;
    max-width: 100% !important;
    overflow: visible !important;
}

/* 强制设置关键间距 */
.hero-nav {
    margin-bottom: 50px !important;
}

.hero-search {
    margin-bottom: 40px !important;
}

.search-container {
    margin-bottom: 25px !important;
}

/* 确保hero部分居中显示，不占据全部宽度 */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-container {
    flex: 0 1 auto;
    min-width: 400px;
    max-width: 1200px;
}

/* 确保搜索框正常工作 */
#hero-search-form {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

.search-input-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
}

#hero-search-input {
    flex: 1 !important;
    width: auto !important;
    min-width: 0 !important;
}

.search-btn {
    flex-shrink: 0 !important;
    width: auto !important;
}

/* 最高优先级覆盖规则 - 确保导航标签始终在一行显示 */
.hero-nav-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    grid-auto-flow: unset !important;
    grid: none !important;
}

.hero-nav-item {
    grid-column: unset !important;
    grid-row: unset !important;
    grid-area: unset !important;
}

