/* ===== WeHuster 简洁资源站风格 (2025) ===== */

/* --- CSS 变量定义 --- */
:root {
    /* 主色调 - 清爽蓝 */
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --primary-light: #e7f3ff;
    
    /* 背景色 */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #e9ecef;
    
    /* 文字色 */
    --text-dark: #212529;
    --text-gray: #6c757d;
    --text-light: #adb5bd;
    
    /* 边框色 */
    --border-color: #dee2e6;
    --border-light: #e9ecef;
    
    /* 阴影 - 极简 */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 2px 6px rgba(0,0,0,0.08);
    
    /* 圆角 */
    --radius: 8px;
    
    /* 过渡 */
    --transition: all 0.3s ease;
    
    /* 容器宽度 */
    --container-width: 1200px;
}

/* --- 1. 全局基础样式 --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Microsoft YaHei", "SimHei", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 16px;
    font-weight: 700;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 700;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* 页面滚动进度条 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--primary-color);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* --- 2. 高级导航栏 - 毛玻璃效果 --- */
.apple-nav,
nav,
.site-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.apple-nav.scrolled,
nav.scrolled,
.site-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.nav-container,
.nav-wrapper {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2.5rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo - 更醒目 */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.nav-logo i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-logo:hover i {
    transform: scale(1.1) rotate(-5deg);
}

/* 主菜单 - 增强视觉 */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #667eea);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(0, 123, 255, 0.06);
}

.nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link i {
    font-size: 0.7rem;
}

/* 下拉菜单 - 纯色背景 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 1rem;
    min-width: 280px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
                0 2px 8px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: var(--text-dark);
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                rgba(0, 123, 255, 0.08) 0%, 
                rgba(0, 123, 255, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.dropdown-item:hover {
    background: rgba(0, 123, 255, 0.08);
    transform: translateX(4px);
}

.dropdown-item:hover::before {
    opacity: 1;
}

.dropdown-item:active {
    transform: translateX(4px) scale(0.98);
}

.dropdown-item i {
    font-size: 1.35rem;
    color: var(--primary-color);
    transition: all 0.25s ease;
    z-index: 1;
}

.dropdown-item:hover i {
    transform: scale(1.1);
}

.dropdown-item > div {
    z-index: 1;
}

.item-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
    transition: color 0.25s ease;
}

.dropdown-item:hover .item-title {
    color: var(--primary-color);
}

.item-desc {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.4;
}

/* 右侧工具 */
.nav-tools {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

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

/* 移动端菜单按钮 */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* 搜索覆盖层 */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    padding-top: 100px;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.search-input-wrapper,
.search-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    gap: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within,
.search-input-wrap:focus-within {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.search-input-wrapper i,
.search-input-wrap i {
    color: #fff;
    font-size: 1.2rem;
}

.search-input,
#search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.125rem;
    color: #fff;
}

.search-input::placeholder,
#search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

/* 搜索建议 - 适配紫色背景 */
.search-suggestions {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    margin-top: 1.5rem;
    padding: 0;
    backdrop-filter: blur(10px);
    max-height: 500px;
    overflow-y: auto;
    overflow: hidden;
}

.search-suggestions a:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

.search-suggestions::-webkit-scrollbar {
    width: 8px;
}

.search-suggestions::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background: rgba(0, 123, 255, 0.3);
    border-radius: 10px;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 123, 255, 0.5);
}

.suggestion-section {
    margin-bottom: 1.25rem;
}

.suggestion-section:last-child {
    margin-bottom: 0;
}

.suggestion-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-gray);
    padding: 0.5rem 1rem 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.suggestion-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                rgba(0, 123, 255, 0.08) 0%, 
                rgba(0, 123, 255, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.suggestion-item:hover {
    background: rgba(0, 123, 255, 0.08);
    transform: translateX(4px);
}

.suggestion-item:hover::before {
    opacity: 1;
}

.suggestion-item:active {
    transform: translateX(4px) scale(0.98);
}

.suggestion-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: all 0.25s ease;
    z-index: 1;
}

.suggestion-item:hover i {
    transform: scale(1.1);
}

.suggestion-item span {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    z-index: 1;
    transition: color 0.25s ease;
}

.suggestion-item:hover span {
    color: var(--primary-color);
}

/* --- 3. Hero 区域 --- */
.hero-section {
    text-align: center;
    padding: 6rem 2rem 4rem;
    margin-top: 60px;
    background: var(--bg-white);
}

#particles-js {
    display: none; /* 移除粒子背景 */
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-section p {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-button,
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    font-size: 1.6rem;
    font-weight: 900;
    font-family: 'SimHei', 'Microsoft YaHei', sans-serif;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover,
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* --- 轮播功能展示 --- */
.feature-carousel-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100vh;
    min-height: 100vh;
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 背景大圆形装饰 */
.background-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(80px);
}

.bg-circle-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(138, 92, 246, 0.8) 0%, rgba(138, 92, 246, 0) 70%);
    top: -300px;
    left: -300px;
    animation: float-slow 25s ease-in-out infinite;
}

.bg-circle-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.7) 0%, rgba(236, 72, 153, 0) 70%);
    bottom: -250px;
    right: -250px;
    animation: float-slow 30s ease-in-out infinite reverse;
}

.bg-circle-3 {
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6) 0%, rgba(59, 130, 246, 0) 70%);
    top: 50%;
    right: -350px;
    animation: float-slow-vertical 28s ease-in-out infinite;
}

.bg-circle-4 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.7) 0%, rgba(168, 85, 247, 0) 70%);
    bottom: 20%;
    left: -200px;
    animation: float-slow 22s ease-in-out infinite reverse;
}

.bg-circle-5 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.6) 0%, rgba(99, 102, 241, 0) 70%);
    top: 20%;
    left: 10%;
    animation: float-slow 27s ease-in-out infinite;
}

.bg-circle-6 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.5) 0%, rgba(244, 114, 182, 0) 70%);
    bottom: 30%;
    right: 15%;
    animation: float-slow 24s ease-in-out infinite reverse;
}

@keyframes float-slow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(40px, -40px) scale(1.08);
        opacity: 0.35;
    }
    50% {
        transform: translate(-30px, 30px) scale(0.92);
        opacity: 0.25;
    }
    75% {
        transform: translate(20px, -20px) scale(1.05);
        opacity: 0.32;
    }
}

@keyframes float-slow-vertical {
    0%, 100% {
        transform: translateY(-50%) translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-50%) translate(40px, -40px) scale(1.08);
        opacity: 0.35;
    }
    50% {
        transform: translateY(-50%) translate(-30px, 30px) scale(0.92);
        opacity: 0.25;
    }
    75% {
        transform: translateY(-50%) translate(20px, -20px) scale(1.05);
        opacity: 0.32;
    }
}

.feature-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.feature-carousel-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    z-index: 0;
}

/* 装饰性几何图形 */
.decoration-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.shape {
    position: absolute;
    opacity: 0.15;
}

/* 圆形装饰 */
.shape-circle-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa647 100%);
    top: -100px;
    left: -50px;
    animation: float 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    bottom: 50px;
    right: 100px;
    opacity: 0.2;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    top: 50%;
    left: 10%;
    opacity: 0.12;
    animation: float 18s ease-in-out infinite;
}

/* 方形装饰 */
.shape-square-1 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    top: 20%;
    right: -50px;
    transform: rotate(45deg);
    opacity: 0.18;
    animation: rotate-float 25s ease-in-out infinite;
}

.shape-square-2 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    bottom: 30%;
    left: 5%;
    transform: rotate(25deg);
    opacity: 0.15;
    animation: rotate-float 20s ease-in-out infinite reverse;
}

/* 三角形装饰 */
.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 180px solid rgba(255, 255, 255, 0.2);
    top: 10%;
    right: 15%;
    opacity: 0.1;
    animation: float 22s ease-in-out infinite;
}

.shape-triangle-2 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(255, 215, 0, 0.2);
    bottom: 15%;
    right: 30%;
    transform: rotate(180deg);
    opacity: 0.12;
    animation: float 17s ease-in-out infinite reverse;
}

/* 不规则形状 */
.shape-blob-1 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    top: 30%;
    right: 5%;
    opacity: 0.15;
    animation: morph 15s ease-in-out infinite;
}

.shape-blob-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    border-radius: 38% 62% 63% 37% / 70% 33% 67% 30%;
    bottom: 10%;
    left: 15%;
    opacity: 0.12;
    animation: morph 18s ease-in-out infinite reverse;
}

/* 动画效果 */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-30px) translateX(20px);
    }
    66% {
        transform: translateY(15px) translateX(-15px);
    }
}

@keyframes rotate-float {
    0%, 100% {
        transform: rotate(45deg) translateY(0px);
    }
    50% {
        transform: rotate(90deg) translateY(-20px);
    }
}

@keyframes morph {
    0%, 100% {
        border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        border-radius: 50% 50% 30% 70% / 50% 70% 30% 50%;
        transform: translateY(10px) rotate(240deg);
    }
}

.carousel-container {
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.slide-image {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 40px;
}

/* 大号英文文字样式 */
.hero-text-large {
    text-align: left;
    margin-top: -150px;
    margin-left: -90px;
    position: relative;
}

.hero-line {
    font-size: 8rem;
    font-weight: 950;
    line-height: 1.15;
    color: #fbbf24;
    letter-spacing: -0.04em;
    margin-bottom: 0.15em;
    text-transform: uppercase;
    font-family: 'Arial Black', 'Impact', sans-serif;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: fadeInLeft 0.8s ease-out backwards;
}

/* 错落有致的排布效果 */
.hero-line-1 {
    padding-left: 0;
    animation-delay: 0.1s;
    transform-origin: left center;
}

.hero-line-2 {
    padding-left: 80px;
    animation-delay: 0.3s;
    transform-origin: left center;
}

.hero-line-3 {
    padding-left: 40px;
    animation-delay: 0.5s;
    transform-origin: left center;
}

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

.slide-content {
    flex: 1;
    color: white;
    max-width: 600px;
}

.slide-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.25);
    line-height: 1.3;
    letter-spacing: 0.1em;
}

.slide-content h2 .title-line {
    display: inline;
}

.slide-content p {
    font-size: 1.25rem;
    line-height: 2;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
    letter-spacing: 0.03em;
    text-align: left;
}

.slide-content .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.slide-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0.6;
}

.dot.active {
    background: #fbbf24;
    transform: scale(1.4);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.6);
    opacity: 1;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.dot:hover {
    background: #ffffff;
    transform: scale(1.15);
    opacity: 0.9;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}



/* 向下滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 24;
    color: white;
    font-size: 24px;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 响应式 */
@media (max-width: 992px) {
    .hero-line {
        font-size: 5.5rem;
    }
    
    .hero-text-large {
        margin-top: -110px;
        margin-left: -60px;
    }
    
    .hero-line-2 {
        padding-left: 65px;
    }
    
    .hero-line-3 {
        padding-left: 35px;
    }
    
    .slide-content h2 {
        font-size: 2.8rem;
        margin-bottom: 1.75rem;
        letter-spacing: 0.08em;
    }
    
    .slide-content p {
        font-size: 1.15rem;
        line-height: 1.95;
        margin-bottom: 2.5rem;
    }
    
    .wehuster-btn {
        padding: 16px 40px !important;
        font-size: 1.6rem !important;
        font-weight: 900 !important;
        font-family: 'SimHei', 'Microsoft YaHei', sans-serif !important;
    }
}

@media (max-width: 768px) {
    .feature-carousel-section {
        height: 100vh;
        min-height: 100vh;
        padding: 0;
    }
    
    .carousel-container {
        padding: 0 20px;
    }
    
    .carousel-wrapper {
        min-height: 500px;
        padding: 60px 0;
    }
    
    .carousel-slide {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 40px 0;
    }
    
    .slide-image {
        flex: none;
        padding: 20px;
        justify-content: center;
    }
    
    .slide-image i {
        font-size: 120px !important;
    }
    
    .hero-line {
        font-size: 4rem;
    }
    
    .hero-text-large {
        margin-top: -80px;
        margin-left: -30px;
        text-align: center;
    }
    
    .hero-line-2 {
        padding-left: 40px;
    }
    
    .hero-line-3 {
        padding-left: 20px;
    }
    
    .slide-content {
        max-width: 100%;
    }
    
    .slide-content h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        letter-spacing: 0.06em;
    }
    
    .slide-content p {
        font-size: 1.05rem;
        line-height: 1.9;
        margin-bottom: 2rem;
        letter-spacing: 0.02em;
    }
    
    .wehuster-btn {
        padding: 16px 40px !important;
        font-size: 1.6rem !important;
        font-weight: 900 !important;
        font-family: 'SimHei', 'Microsoft YaHei', sans-serif !important;
    }
    
    .carousel-dots {
        bottom: 25px;
    }
    
    .scroll-indicator {
        bottom: 60px;
        font-size: 20px;
    }
    
    .bg-circle-1 {
        width: 400px;
        height: 400px;
        top: -150px;
        left: -150px;
    }
    
    .bg-circle-2 {
        width: 350px;
        height: 350px;
        bottom: -100px;
        right: -100px;
    }
    
    .bg-circle-3 {
        width: 450px;
        height: 450px;
        right: -200px;
        top: 40%;
    }
    
    .bg-circle-4 {
        width: 300px;
        height: 300px;
        left: -80px;
    }
    
    .bg-circle-5 {
        width: 280px;
        height: 280px;
        top: 15%;
        left: 5%;
    }
    
    .bg-circle-6 {
        width: 320px;
        height: 320px;
        bottom: 25%;
        right: 10%;
    }
}

/* 底部过渡区域 */
.bottom-transition {
    display: none;
}

/* --- 4. 优势区块（四列卡片并列）--- */
.features-section {
    padding: 4rem 2rem 4rem;
    padding-top: 5rem;
    margin-top: 0;
    background: #ffffff;
    position: relative;
    z-index: 1;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 0 50% 50%;
    z-index: -1;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-size: 2rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* 核心功能网格 - 四列并排 */
.features-grid {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* 响应式：在小屏幕上改为2列或1列 */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .feature-icon-text {
        font-size: 3rem;
    }
    
    .feature-card {
        min-height: 240px;
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-icon-text {
        font-size: 3.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

.cards-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    min-height: 280px;
}

.feature-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* 紫色渐变卡片 */
.feature-card-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    border: none;
    color: white;
}

.feature-card-primary:hover {
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
    border: none;
}

.feature-card-primary h3,
.feature-card-primary p {
    color: white;
}

/* 图标文字样式 */
.feature-icon-text {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1;
    letter-spacing: -2px;
}

.feature-card-primary .feature-icon-text {
    color: white;
}

.feature-card:not(.feature-card-primary) .feature-icon-text {
    color: var(--text-dark);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

a.feature-card {
    text-decoration: none;
}

a.feature-card:hover {
    text-decoration: none;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.feature-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* --- 5. 免费资源区（卡片列表）--- */
.resources-section {
    padding: 4rem 2rem;
    background: var(--bg-white);
}

.resources-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.resources-section .subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.resource-cards {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
}

.resource-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.resource-card h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.resource-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* --- 6. 通用按钮 --- */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.6rem;
    font-weight: 900;
    font-family: 'SimHei', 'Microsoft YaHei', sans-serif;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

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

.btn-outline {
    background: white;
    color: var(--text-dark);
    border-color: var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* --- 7. 内容页样式 --- */
.page-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem;
    margin-top: 80px;
}

.page-content h1 {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-top: 0.5rem;
}

/* 真题卡片列表 */
.papers-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.paper-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
}

.paper-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.paper-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.paper-card .btn {
    width: 100%;
    margin-top: auto;
}

/* 资讯文章列表 */
.article-preview {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.article-preview:hover {
    box-shadow: var(--shadow-md);
}

.article-preview h2 {
    margin-bottom: 0.5rem;
}

.article-preview h2 a {
    color: var(--text-dark);
}

.article-preview h2 a:hover {
    color: var(--primary-color);
}

.article-meta {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

/* --- 8. 页脚 --- */
.site-footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.footer-section {
    text-align: center;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-light);
    line-height: 1.8;
    text-align: center;
}

.footer-section a:hover {
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    text-align: center;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

/* 快速链接区块的特殊样式 - 整列居中，内容也居中 */
.footer-section-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section-links h4 {
    text-align: center;
}

.footer-section-links .footer-links {
    text-align: center;
}

.footer-section-links .footer-links a {
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
    font-size: 0.875rem;
}

/* --- 9. 翻译器页面 --- */
#main-container {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 900px;
    margin: 2rem auto;
}

#english-text {
    width: 100%;
    min-height: 200px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.8;
    resize: vertical;
}

#english-text:focus {
    outline: none;
    border-color: var(--primary-color);
}

#translate-btn {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

#translate-btn:hover {
    background: var(--primary-hover);
}

#translation-output {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    min-height: 150px;
}

/* 查词弹窗 */
#lookup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

#lookup-modal.active {
    display: flex !important;
}

.modal-content {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-light);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-gray);
}

.close-btn:hover {
    background: var(--bg-gray);
    color: var(--text-dark);
}

/* 句子对照 */
.sentence-pair {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.en-sentence {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.zh-sentence {
    color: var(--text-gray);
}

/* --- 10. 响应式设计 --- */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .page-content {
        margin-top: 75px;
        padding: 1.5rem;
    }
    
    .page-content h1 {
        margin-top: 1.5rem;
        margin-bottom: 1.75rem;
        padding-top: 0.25rem;
    }
    
    .cards-container,
    .resource-cards,
    .papers-list-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* --- 11. 工具类 --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* --- 12. 现代化搜索和筛选栏 --- */
.modern-filter-container {
    background: white;
    border: 2px solid #f1f3f5;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.modern-filter-container:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* 搜索框 */
.modern-search-box {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.85rem 1.2rem;
    margin-bottom: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.modern-search-box:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.modern-search-box:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1), 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

.modern-search-box i {
    color: #667eea;
    margin-right: 0.75rem;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.modern-search-box:focus-within i {
    transform: scale(1.1);
}

.modern-search-box input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    font-weight: 600;
    color: #2d3436;
    letter-spacing: 0.01em;
}

.modern-search-box input::placeholder {
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* 筛选选项横向布局 */
.modern-filters {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.filter-icon {
    color: #667eea;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.filter-item:hover .filter-icon {
    transform: scale(1.1);
}

.filter-label {
    color: #2d3436;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

/* 现代化下拉框 */
.modern-select {
    padding: 0.8rem 2.8rem 0.8rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    color: #2d3436;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 16 16'%3E%3Cpath fill='%23667eea' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    min-width: 140px;
}

.modern-select:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

.modern-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1), 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

.modern-select:active {
    transform: translateY(0);
}

/* 下拉选项样式 */
.modern-select option {
    padding: 0.7rem 1rem;
    background: white;
    color: #2d3436;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.01em;
    min-height: 42px;
}

.modern-select option:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    color: #667eea;
}

.modern-select option:checked,
.modern-select option:focus {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%) !important;
    color: #667eea !important;
    font-weight: 700;
}

/* 优化第一个选项（全部XXX） */
.modern-select option:first-child {
    font-weight: 600;
    color: #64748b;
}

.modern-select option:first-child:checked {
    color: #667eea !important;
    font-weight: 700;
}

/* 复选框项 */
.checkbox-item {
    gap: 0.5rem;
}

.modern-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.modern-checkbox:hover {
    transform: scale(1.1);
}

.modern-checkbox:checked {
    accent-color: #667eea;
}

/* 重置按钮 */
.modern-reset-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.3rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.modern-reset-btn:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-color: #667eea;
    color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

.modern-reset-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.modern-reset-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.modern-reset-btn:hover i {
    transform: rotate(-360deg);
}

/* 结果统计 */
.modern-results-info {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.2rem;
    padding: 1rem 1.3rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    color: #2d3436;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.modern-results-info:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.modern-results-info i {
    color: #667eea;
    font-size: 1.2rem;
}

.modern-results-info strong {
    color: #667eea;
    font-weight: 700;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modern-filter-container {
        padding: 1.5rem;
    }
    
    .modern-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .filter-item {
        width: 100%;
    }
    
    .filter-label {
        font-size: 0.95rem;
    }
    
    .modern-select {
        flex: 1;
        font-size: 0.95rem;
        padding: 0.7rem 2.5rem 0.7rem 1rem;
    }
    
    .modern-select option {
        font-size: 0.95rem;
    }
    
    .modern-reset-btn {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
    }
    
    .modern-search-box input {
        font-size: 0.95rem;
    }
    
    .modern-results-info {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }
}

/* --- 13. 真题卡片按钮组 --- */
.paper-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 查看详情按钮 - 蓝色文字 */
.paper-btn-detail {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid transparent;
}

.paper-btn-detail:hover {
    background: var(--primary-light);
    color: var(--primary-hover);
}

.paper-btn-detail i {
    font-size: 1rem;
}

/* 下载PDF按钮 - 蓝色边框，横向布局 */
.paper-btn-pdf {
    flex-direction: row;
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 1rem;
    position: relative;
    flex: 0 0 auto;
}

.paper-btn-pdf i {
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.paper-btn-pdf .btn-text {
    font-size: 0.9rem;
    line-height: 1;
    font-weight: 600;
    white-space: nowrap;
}

.paper-btn-pdf:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* 预览题目按钮 - 灰色背景 */
.paper-btn-preview {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.paper-btn-preview:hover {
    background: var(--bg-gray);
    border-color: var(--text-gray);
}

.paper-btn-preview i {
    font-size: 1rem;
}

/* 按钮容器优化 - 2x2网格布局 */
.paper-card .btn-wrap {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-top: 1rem !important;
    align-items: stretch !important;
}

/* 响应式 - 移动端 */
@media (max-width: 768px) {
    .paper-card .btn-wrap {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    
    .paper-btn {
        width: 100%;
    }
    
    .paper-btn-pdf {
        flex-direction: row;
        gap: 0.75rem;
    }
    
    .paper-btn-pdf i {
        margin-bottom: 0;
    }
    
    .paper-btn-pdf .btn-text {
        line-height: 1;
    }
}

/* --- 14. 突出听力练习模块 --- */

/* 导航栏中的听力练习链接 - 特殊高亮 */
.nav-link-listening {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-radius: 20px;
    padding: 0.5rem 1rem !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link-listening:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.nav-link-listening i {
    font-size: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

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

/* 导航栏徽章 */
.nav-badge {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* 下拉菜单中的听力项目高亮 - 苹果风格 */
.dropdown-item-featured {
    background: linear-gradient(135deg, 
                rgba(102, 126, 234, 0.12) 0%, 
                rgba(118, 75, 162, 0.08) 100%);
    border: 1.5px solid rgba(102, 126, 234, 0.3);
    position: relative;
}

.dropdown-item-featured::before {
    background: linear-gradient(135deg, 
                rgba(102, 126, 234, 0.15) 0%, 
                rgba(118, 75, 162, 0.12) 100%);
}

.dropdown-item-featured:hover {
    background: linear-gradient(135deg, 
                rgba(102, 126, 234, 0.18) 0%, 
                rgba(118, 75, 162, 0.14) 100%);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.dropdown-item-featured .item-title {
    color: #667eea;
    font-weight: 700;
}

/* 徽章样式 */
.item-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
    animation: bounce 2s ease-in-out infinite;
}

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

/* 响应式 - 移动端听力链接 */
@media (max-width: 768px) {
    .nav-link-listening {
        justify-content: center;
        padding: 0.65rem 1rem !important;
    }
    
    .nav-badge {
        margin-left: 0.3rem;
        font-size: 0.7rem;
        padding: 0.1rem 0.4rem;
    }
}

/* 听力相关样式保留 */
.listening-promo {
    background: #fffbe6;
    border: 2px solid #ffd666;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: var(--container-width);
}

.listening-result {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.5rem;
}

/* 旧版兼容 */
.exam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* 新版居中布局 */
.exam-header-centered {
    text-align: center;
    margin: 2rem 0 3rem;
    padding: 2rem 0;
}

.exam-title-main {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.exam-actions-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.action-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.action-btn-modern i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.action-btn-modern:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
}

.action-btn-modern:hover i {
    transform: scale(1.1);
}

.action-btn-modern:active {
    transform: translateY(0);
}

/* 旧版按钮保持兼容 */
.action-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

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

/* 返回按钮 - 凸显样式 */
.back-button-container {
    margin-bottom: 1.5rem;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-button i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.back-button:hover i {
    transform: translateX(-3px);
}

.back-button:active {
    transform: translateY(0);
}

/* 响应式适配 */
@media (max-width: 768px) {
    /* 导航栏移动端优化 */
    .nav-wrapper {
        padding: 0 1.5rem;
        height: 65px;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .nav-logo i {
        font-size: 1.4rem;
    }
    
    .nav-link {
        font-size: 0.95rem;
        padding: 0.6rem 1rem;
    }
    
    /* 真题页面 */
    .exam-title-main {
        font-size: 2rem;
    }
    
    .exam-actions-centered {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .action-btn-modern {
        width: 100%;
        justify-content: center;
    }
    
    .back-button {
        font-size: 0.95rem;
        padding: 0.65rem 1rem;
    }
}

/* AOS 动画简化（保留兼容性）*/
[data-aos] {
    opacity: 1;
    transform: none;
}

/* ============================================
   WeHUSTER 样式定制
   ============================================ */

/* WeHUSTER 导航栏样式 */
.wehuster-nav {
    background: rgba(103, 80, 164, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: none;
}

.wehuster-nav.scrolled {
    background: rgba(103, 80, 164, 0.98) !important;
}

/* WeHUSTER Logo样式 */
.wehuster-logo {
    color: #fff !important;
    font-weight: 800;
    font-size: 1.05rem;
    font-family: 'Microsoft YaHei', 'SimHei', 'Arial Black', sans-serif;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.wehuster-logo:hover {
    color: #fbbf24 !important;
    transform: translateY(-1px);
}

.wehuster-logo i {
    color: #fff !important;
    font-size: 1.1rem;
}

.wehuster-logo:hover i {
    color: #fbbf24 !important;
    transform: scale(1.1) rotate(-5deg);
}

.wehuster-logo .logo-text {
    font-weight: 700;
}

/* WeHUSTER 菜单样式 */
.wehuster-menu .nav-link {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Microsoft YaHei', 'SimHei', 'Arial Black', sans-serif;
    padding: 0.5rem 0.85rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.wehuster-menu .nav-link:hover {
    color: #fbbf24;
    background: rgba(255, 255, 255, 0.1);
}

.wehuster-menu .nav-link::before {
    display: none;
}

/* WeHUSTER搜索按钮样式 */
.wehuster-nav .search-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wehuster-nav .search-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* WeHUSTER移动端菜单按钮样式 */
.wehuster-nav .mobile-toggle span {
    background: #fff;
}

/* WeHUSTER 开屏样式优化 */
.wehuster-hero-left {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding-left: 8% !important;
    padding-top: 15% !important;
}

.wehuster-hero-right {
    padding-right: 8%;
    padding-top: 2%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wehuster-hero-right h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.3;
}

.wehuster-hero-right p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

/* WeHUSTER 按钮样式 */
.wehuster-btn {
    background: rgba(59, 130, 246, 0.9) !important;
    color: #fff !important;
    border: none !important;
    padding: 16px 40px !important;
    font-size: 1.6rem !important;
    font-weight: 900 !important;
    font-family: 'SimHei', 'Microsoft YaHei', sans-serif !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35) !important;
    letter-spacing: 0.05em !important;
}

.wehuster-btn:hover {
    background: rgba(37, 99, 235, 0.95) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.5) !important;
}

/* 右侧帮助图标 */
.help-icon {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: rgba(59, 130, 246, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.help-icon i {
    color: #fff;
    font-size: 1.6rem;
}

.help-icon:hover {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.7);
    background: rgba(37, 99, 235, 0.98);
}

/* WeHUSTER 导航点样式 */
.wehuster-nav ~ .feature-carousel-section .carousel-dots .dot {
    background: #ffffff;
    width: 20px;
    height: 20px;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0.6;
}

.wehuster-nav ~ .feature-carousel-section .carousel-dots .dot.active {
    background: #fbbf24;
    transform: scale(1.4);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.6);
    opacity: 1;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.wehuster-nav ~ .feature-carousel-section .carousel-dots .dot:hover {
    background: #ffffff;
    transform: scale(1.15);
    opacity: 0.9;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .wehuster-menu .nav-item:nth-child(n+5) {
        display: none;
    }
}

@media (max-width: 992px) {
    .wehuster-menu .nav-item:nth-child(n+4) {
        display: none;
    }
    
    .wehuster-menu .nav-link {
        font-size: 1.05rem;
    }
    
    .page-content h1 {
        margin-top: 1.75rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .wehuster-logo {
        font-size: 1.2rem;
    }
    
    .wehuster-logo i {
        font-size: 1.3rem;
    }
    
    .wehuster-menu .nav-link {
        font-size: 1rem;
    }
    
    .wehuster-hero-left {
        padding-left: 2rem !important;
        padding-top: 3% !important;
    }
    
    .wehuster-hero-right {
        padding-right: 2rem;
        padding-top: 1%;
        text-align: left;
    }
    
    .wehuster-hero-right h2 {
        font-size: 1.8rem;
    }
    
    .wehuster-hero-right p {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .help-icon {
        width: 45px;
        height: 45px;
        right: 15px;
    }
    
    .help-icon i {
        font-size: 1.3rem;
    }
}
