/* 公用CSS变量 */
        :root {
    --primary-color: #3b82f6;
    --secondary-color: #8b5cf6;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --dark-text: #1e293b;
    --gray-text: #64748b;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
}

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

/* 导航栏 */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    }
    
    .header-content {
    display: flex;
        align-items: center;
    justify-content: space-between;
    padding: 10px 0; /* 从15px减少到10px */
    gap: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px; /* 从60px减少到50px */
    height: 50px; /* 从60px减少到50px */
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px; /* 从28px减少到24px */
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45px);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.logo-text h1 {
    font-size: 24px; /* 从28px减少到24px */
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-text .tagline {
    font-size: 12px; /* 从14px减少到12px */
    color: var(--gray-text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 搜索框 */
.search-container {
        flex: 1;
    max-width: 400px;
    margin: 0 20px;
    }
    
    .search-form {
    display: flex;
    align-items: center;
    background: var(--light-bg);
    border-radius: var(--border-radius-md);
    border: 2px solid var(--border-light);
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: var(--dark-text);
}

.search-input::placeholder {
    color: var(--gray-text);
}

.search-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.search-btn span {
    font-size: 1.1rem;
}

/* 搜索建议 */
.search-suggestions {
    margin-top: 8px;
    text-align: center;
}

.suggestion-title {
    font-size: 0.8rem;
    color: var(--gray-text);
    margin-bottom: 5px;
    font-weight: 500;
}

.suggestion-tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.suggestion-tag {
    background: var(--light-bg);
    color: var(--dark-text);
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.suggestion-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--border-radius-sm);
    transition: background 0.3s ease;
    z-index: 4001;
            position: relative;
}

.mobile-menu-toggle:hover {
    background: var(--light-bg);
    }

    .mobile-menu-toggle span {
    width: 28px;
        height: 3px;
    background: var(--primary-color);
    margin: 4px 0;
        border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 移动端菜单 */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease;
    z-index: 4500;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.mobile-nav.active {
    left: 0;
}

/* 移动端搜索框 */
.mobile-search {
    margin-bottom: 30px;
    padding: 0 10px;
}

.mobile-search-form {
    display: flex;
    align-items: center;
    background: var(--light-bg);
    border-radius: var(--border-radius-md);
    border: 2px solid var(--border-light);
    overflow: hidden;
    transition: all 0.3s ease;
}

.mobile-search-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.mobile-search-input {
    flex: 1;
    padding: 15px 16px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: var(--dark-text);
}

.mobile-search-input::placeholder {
    color: var(--gray-text);
}

.mobile-search-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-btn:hover {
    background: var(--secondary-color);
}

.mobile-search-btn span {
    font-size: 1.1rem;
}

/* 移动端搜索建议 */
.mobile-search .search-suggestions {
    margin-top: 15px;
}

.mobile-search .suggestion-tags {
    gap: 10px;
}

.mobile-search .suggestion-tag {
    padding: 6px 12px;
    font-size: 0.8rem;
}

/* 移动端菜单列表 */
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin-bottom: 15px;
}

.mobile-nav-link {
    display: block;
    padding: 15px 20px;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    background: var(--light-bg);
}

.mobile-nav-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(10px);
}

/* 遮罩层 */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* 主要内容区域 */
.main-content {
    min-height: 100vh;
}

/* 英雄区域 */
.hero-section {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 2px solid var(--border-light);
}

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

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}

/* 页脚 */
.footer {
    background: var(--dark-text);
    padding: 25px 0 15px;
    color: var(--white);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

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

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

/* 动画效果 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-up {
    animation: slideInUp 1s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .search-container {
        display: none;
    }

    .mobile-menu-toggle {
    display: flex;
    }

    .mobile-nav {
        width: 250px;
    }

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

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

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

