/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --accent-color: #6366f1;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --hover-bg: #f3f4f6;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --sidebar-width: 260px;
    --header-height: 70px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    padding-top: var(--header-height);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* 顶部导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    height: var(--header-height);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
}

.logo i {
    font-size: 28px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.main-nav a {
    display: block;
    padding: 10px 18px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--primary-color);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* 侧边栏 */
.sidebar {
    position: fixed;
    left: 0;
    top: var(--header-height);
    width: var(--sidebar-width);
    height: calc(100vh - var(--header-height));
    background: var(--bg-white);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar-content {
    padding: 20px;
}

.sidebar-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.category-list {
    list-style: none;
}

.category-list > li {
    margin-bottom: 5px;
}

.category-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.category-list a:hover {
    background: var(--hover-bg);
    color: var(--primary-color);
}

.category-list a i {
    width: 20px;
    text-align: center;
    color: var(--text-light);
}

.submenu {
    list-style: none;
    padding-left: 30px;
    margin-top: 5px;
    display: none;
}

.has-submenu.active .submenu {
    display: block;
}

.submenu a {
    padding: 8px 15px;
    font-size: 13px;
    color: var(--text-light);
}

/* 主内容区 */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 30px 0;
    min-height: calc(100vh - var(--header-height));
}

/* 搜索区域 */
.search-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
}

.search-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.search-tab {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.search-tab:hover {
    background: rgba(255, 255, 255, 0.3);
}

.search-tab.active {
    background: white;
    color: var(--primary-color);
}

.search-box {
    display: flex;
    max-width: 800px;
    margin: 0 auto 30px;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.search-box input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-btn {
    padding: 15px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.search-btn:hover {
    background: var(--accent-color);
}

.quick-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-link-group {
    text-align: center;
}

.quick-link-group h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
}

.quick-link-group a {
    display: inline-block;
    padding: 5px 12px;
    margin: 3px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.quick-link-group a:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

/* 内容区域 */
.content-section {
    margin-bottom: 60px;
    padding: 40px 0;
}

/* AI应用集 */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.app-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.app-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.app-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.app-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.app-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.app-link:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

/* 每日AI资讯 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-item {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.news-date {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.news-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.news-item h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-item h3 a:hover {
    color: var(--primary-color);
}

.news-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

/* 最新AI项目 */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.project-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.project-badge {
    padding: 4px 12px;
    background: var(--bg-color);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.project-badge.hot {
    background: #fee2e2;
    color: #991b1b;
}

.project-badge.new {
    background: #dbeafe;
    color: #1e40af;
}

.project-stars {
    color: var(--text-light);
    font-size: 14px;
}

.project-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.project-card > p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.project-tags .tag {
    padding: 4px 12px;
    background: var(--bg-color);
    color: var(--text-color);
    border-radius: 12px;
    font-size: 12px;
}

.project-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

/* AI教程资源 */
.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.tutorial-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tutorial-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.tutorial-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.tutorial-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tutorial-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 13px;
}

.tutorial-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 关于我们 */
.about-content {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.about-intro {
    margin-bottom: 40px;
}

.about-intro h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.about-intro p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--bg-color);
    border-radius: 10px;
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 5px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.contact-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
}

.contact-methods {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* 分类区域 */
.featured-section,
.latest-section,
.category-section {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.section-title i {
    color: var(--primary-color);
}

.view-more {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.view-more:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

/* 工具卡片网格 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 100%;
}

/* 工具卡片 */
.tool-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: 100%;
}

.tool-card-main {
    cursor: pointer;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tool-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.tool-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: white;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    overflow: hidden;
    padding: 4px;
}

.tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tool-info {
    flex: 1;
    min-width: 0;
}

.tool-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tool-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 3px;
}

.tool-badge.free {
    background: #d1fae5;
    color: #065f46;
}

.tool-badge.hot {
    background: #fee2e2;
    color: #991b1b;
}

.tool-description {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tool-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.tool-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    flex: 1;
}

.tool-tag {
    padding: 2px 8px;
    background: var(--hover-bg);
    color: var(--text-light);
    border-radius: 10px;
    font-size: 11px;
}

.tool-link {
    color: var(--primary-color);
    font-size: 20px;
    transition: all 0.3s ease;
}

.tool-link:hover {
    transform: translateX(3px);
}

/* 页脚 */
.footer {
    background: var(--text-color);
    color: #9ca3af;
    padding: 50px 0 20px;
    margin-left: var(--sidebar-width);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-about h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-about p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.bookmark-tip {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
}

.bookmark-tip kbd {
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: monospace;
    color: white;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-link-group h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-link-group a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-link-group a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

.footer-link-group i {
    margin-right: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.back-to-top.show {
    display: flex;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .apps-grid,
    .tutorials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 12px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --sidebar-width: 0;
        --header-height: 60px;
    }
    
    body {
        padding-top: 60px;
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .mobile-menu-toggle {
        display: block;
        padding: 10px;
    }
    
    .main-nav {
        display: none;
    }
    
    .header-content {
        height: 60px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo i {
        font-size: 22px;
    }
    
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px 0;
    }
    
    .footer {
        margin-left: 0;
    }
    
    .search-section {
        padding: 20px 15px;
    }
    
    .search-box {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-box input {
        width: 100%;
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .search-btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }
    
    .quick-links {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .quick-link {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0;
    }
    
    .tool-card {
        padding: 12px;
        margin: 0;
    }
    
    .tool-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .tool-name {
        font-size: 14px;
    }
    
    .tool-description {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .tool-tags {
        gap: 4px;
    }
    
    .tag {
        padding: 2px 6px;
        font-size: 10px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .view-more {
        font-size: 13px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 0;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-link-group h4 {
        font-size: 16px;
    }
    
    .footer-link-group a {
        font-size: 13px;
    }
    
    .footer-bottom {
        padding: 15px 0;
        font-size: 12px;
    }
    
    .apps-grid,
    .tutorials-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        flex-direction: column;
    }
    
    .contact-btn {
        text-align: center;
        justify-content: center;
    }
    
    .category-section {
        padding: 20px 0;
    }
    
    /* 防止内容溢出 */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* 触摸优化 */
    button, a, .tool-card {
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .logo i {
        font-size: 20px;
    }
    
    .logo span {
        display: inline-block;
    }
    
    .search-section {
        padding: 15px 10px;
    }
    
    .search-box {
        gap: 8px;
    }
    
    .search-box input {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .search-btn {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .quick-links {
        gap: 8px;
    }
    
    .quick-link {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .tool-card {
        padding: 10px;
    }
    
    .tool-icon {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }
    
    .tool-name {
        font-size: 13px;
    }
    
    .tool-description {
        font-size: 11px;
    }
    
    .tag {
        padding: 2px 5px;
        font-size: 9px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .section-title i {
        font-size: 18px;
    }
    
    .view-more {
        font-size: 12px;
    }
    
    .badge {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .footer-about h3 {
        font-size: 18px;
    }
    
    .footer-about p {
        font-size: 12px;
    }
    
    .analytics-section {
        padding: 20px 0;
    }
    
    .analytics-title {
        font-size: 18px;
    }
    
    .analytics-card {
        padding: 15px;
    }
    
    .analytics-card-icon {
        font-size: 28px;
    }
    
    .analytics-card-label {
        font-size: 12px;
    }
    
    .analytics-card-value {
        font-size: 24px;
    }
    
    .analytics-detail-card {
        padding: 15px;
    }
    
    .analytics-detail-title {
        font-size: 14px;
    }
    
    .stat-item {
        font-size: 12px;
    }
    
    .stat-label,
    .stat-value {
        font-size: 12px;
    }
}

/* 滚动条样式 */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: var(--bg-color);
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-card {
    animation: fadeIn 0.5s ease forwards;
}

/* 悬停效果 */
a, button {
    cursor: pointer;
    user-select: none;
}

/* 网站流量统计模块 */
.analytics-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 0;
    margin-top: 60px;
}

.analytics-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.analytics-title {
    text-align: center;
    color: white;
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.analytics-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.analytics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.analytics-card-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.analytics-card-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.analytics-card-value {
    font-size: 32px;
    font-weight: bold;
    color: #667eea;
    font-family: 'Arial', sans-serif;
}

.analytics-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.analytics-detail-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.analytics-detail-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.stat-value {
    font-size: 14px;
    font-weight: bold;
    color: #667eea;
}

/* 响应式设计 - 统计模块 */
@media (max-width: 1024px) {
    .analytics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .analytics-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .analytics-section {
        padding: 30px 0;
        margin-top: 40px;
    }
    
    .analytics-title {
        font-size: 22px;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .analytics-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .analytics-card {
        padding: 20px;
    }
    
    .analytics-card-value {
        font-size: 28px;
    }
}

/* QQ群二维码弹窗 */
.qr-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.qr-modal-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.qr-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 32px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.qr-close:hover {
    color: #333;
}

.qr-modal-content h3 {
    margin: 0 0 25px 0;
    color: var(--text-color);
    font-size: 24px;
}

.qr-code-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qr-group-number {
    margin-top: 20px;
    font-size: 18px;
    color: var(--text-light);
    font-weight: 500;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .qr-modal-content {
        padding: 30px 20px;
    }
    
    .qr-code-image {
        max-width: 300px;
    }
    
    .qr-modal-content h3 {
        font-size: 20px;
    }
    
    .qr-group-number {
        font-size: 16px;
    }
}

/* ==================== 独立页面样式 ==================== */

/* 页面标题 */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0 20px;
}

.page-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.page-title i {
    color: var(--primary-color);
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* AI应用集页面 */
.app-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.feature-tag {
    background: var(--hover-bg);
    color: var(--text-color);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
}

.app-tools {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.app-tools a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.industry-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.industry-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.industry-header i {
    font-size: 32px;
    color: var(--primary-color);
}

.industry-header h3 {
    font-size: 22px;
    color: var(--text-color);
}

.industry-apps {
    list-style: none;
    margin-bottom: 20px;
}

.industry-apps li {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}

.industry-apps i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.industry-apps strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 4px;
}

.industry-apps p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

.explore-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.02);
}

.case-studies {
    display: grid;
    gap: 30px;
}

.case-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    padding: 30px;
}

.case-image {
    font-size: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-content h3 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.case-desc {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.case-stats {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.trends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.trend-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.trend-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.trend-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.trend-card h3 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.trend-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* 每日AI资讯页面 */
.headline-news {
    margin-bottom: 40px;
}

.headline-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.headline-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.headline-content {
    padding: 30px;
}

.news-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 15px;
}

.news-badge.hot {
    background: #ef4444;
}

.headline-content h2 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-excerpt {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.news-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.news-card h3 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-date {
    font-weight: bold;
    color: var(--primary-color);
    min-width: 60px;
}

.timeline-content {
    flex: 1;
    background: var(--bg-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.timeline-content h4 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.subscribe-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
}

.subscribe-box h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.subscribe-box p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.subscribe-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
}

.subscribe-btn {
    padding: 15px 30px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 最新AI项目页面 */
.filter-section {
    margin-bottom: 40px;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: var(--bg-white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.filter-tab {
    padding: 10px 20px;
    background: var(--hover-bg);
    color: var(--text-color);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-color);
    color: white;
}

.project-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.project-desc {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.submit-project-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
}

.submit-project-box h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.submit-project-box p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.submit-btn {
    padding: 15px 40px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* AI教程资源页面 */
.learning-path {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.path-step {
    flex-shrink: 0;
    text-align: center;
    max-width: 220px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step-content h3 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.5;
}

.step-content ul {
    text-align: left;
    list-style: none;
    font-size: 13px;
    color: var(--text-light);
}

.step-content li {
    margin-bottom: 5px;
}

.step-content li::before {
    content: '• ';
    color: var(--primary-color);
    font-weight: bold;
}

.path-arrow {
    font-size: 32px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.tutorial-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.tutorial-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 15px;
}

.tutorial-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tutorial-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.wiki-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.wiki-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.wiki-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.wiki-card h3 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wiki-card h3 i {
    color: var(--primary-color);
}

.wiki-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.wiki-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.resources-list {
    display: grid;
    gap: 20px;
}

.resource-item {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease;
}

.resource-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.resource-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.resource-content {
    flex: 1;
}

.resource-content h4 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 8px;
}

.resource-content p {
    color: var(--text-light);
    font-size: 14px;
}

.download-btn {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.community-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
}

.community-box h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.community-box p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.community-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.community-btn {
    padding: 12px 30px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.community-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 关于我们页面 */
.about-intro-box {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.about-intro-box h2 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: center;
}

.intro-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 20px;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 14px;
    opacity: 0.9;
}

.mission-box {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.mission-item {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.mission-item h3 {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mission-item h3 i {
    color: var(--primary-color);
}

.mission-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-section {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25);
}

.contact-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-card h4 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.contact-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
}

.submit-tool-box {
    background: var(--hover-bg);
    border-radius: 12px;
}

/* 联系我们模块按钮悬停效果 */
.submit-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
    padding: 40px;
    text-align: center;
}

.submit-tool-box h3 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.submit-tool-box p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.disclaimer-box {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.disclaimer-box ul {
    list-style: none;
}

.disclaimer-box li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.disclaimer-box li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20px;
}

.thank-you-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    padding: 50px;
    text-align: center;
}

.thank-you-box h3 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.thank-you-box p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 12px 25px;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.bookmark-reminder {
    font-size: 16px;
    color: var(--text-color);
}

.bookmark-reminder i {
    color: var(--primary-color);
}

/* 响应式设计 (新页面) */
@media (max-width: 1024px) {
    .page-title {
        font-size: 36px;
    }

    .industry-grid,
    .features-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-card {
        grid-template-columns: 150px 1fr;
    }

    .learning-path {
        flex-direction: column;
        align-items: stretch;
    }

    .path-arrow {
        transform: rotate(90deg);
    }

    .path-step {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
        flex-direction: column;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .industry-grid,
    .news-grid,
    .wiki-grid,
    .features-grid,
    .stats-grid,
    .mission-box,
    .contact-methods-grid {
        grid-template-columns: 1fr;
    }

    .case-card {
        grid-template-columns: 1fr;
    }

    .case-image {
        font-size: 60px;
    }

    .case-stats {
        flex-direction: column;
        gap: 20px;
    }

    .subscribe-form,
    .filter-tabs,
    .community-buttons,
    .share-buttons {
        flex-direction: column;
    }

    .filter-tab,
    .community-btn,
    .share-btn {
        width: 100%;
        justify-content: center;
    }

    .resource-item {
        flex-direction: column;
        text-align: center;
    }

    .learning-path {
        padding: 20px;
    }

    .about-intro-box,
    .subscribe-box,
    .submit-project-box,
    .community-box,
    .thank-you-box {
        padding: 30px 20px;
    }

    .headline-content h2 {
        font-size: 24px;
    }
    
    .headline-image {
        height: 250px;
    }
}

/* 收藏功能样式 */
.favorites-section {
    margin-bottom: 40px;
}

.favorites-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* 空收藏状态 */
.empty-favorites {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    display: none;
}

.empty-favorites-content {
    max-width: 400px;
    margin: 0 auto;
}

.empty-favorites-content i {
    font-size: 64px;
    color: #d1d5db;
    margin-bottom: 20px;
    display: block;
}

.empty-favorites-content h3 {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 10px;
    font-weight: 600;
}

.empty-favorites-content p {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
}

.clear-favorites-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.clear-favorites-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: white;
    color: #9ca3af;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 10;
}

.favorite-btn:hover {
    color: #ef4444;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.favorite-btn.favorited {
    color: #ef4444;
    background: #fee2e2;
}

.favorite-btn.favorited:hover {
    background: #fecaca;
}

.favorite-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.favorite-btn:active i {
    transform: scale(0.9);
}

/* Toast 提示动画 */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* 移动端收藏按钮优化 */
@media (max-width: 768px) {
    .favorite-btn {
        width: 32px;
        height: 32px;
        top: 8px;
        right: 8px;
    }
    
    .favorite-btn i {
        font-size: 16px;
    }
    
    .clear-favorites-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .favorites-section .section-header {
        flex-direction: row;
        align-items: center;
    }
    
    .empty-favorites {
        padding: 40px 15px;
    }
    
    .empty-favorites-content i {
        font-size: 48px;
    }
    
    .empty-favorites-content h3 {
        font-size: 18px;
    }
    
    .empty-favorites-content p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .favorite-btn {
        width: 30px;
        height: 30px;
    }
    
    .favorite-btn i {
        font-size: 14px;
    }
}

