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

:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --accent-color: #e67e22;
    --text-color: #2c3e50;
    --bg-color: #ffffff;
    --bg-alt: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

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

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand i {
    font-size: 1.8rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s;
}

.hero-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* 章节 */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* 卡片 */
.card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* 概览网格 */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* 策划方案 */
.plan-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.plan-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s;
}

.plan-card.featured {
    border: 3px solid var(--secondary-color);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.plan-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-content ul, .plan-content ol {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.plan-content li {
    margin: 0.5rem 0;
}

/* 时间安排 */
.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: white;
}

.schedule-content {
    display: none;
}

.schedule-content.active {
    display: block;
}

/* 时间线 */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-time {
    flex: 0 0 200px;
    text-align: center;
    font-weight: bold;
    color: var(--primary-color);
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 0 2rem;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.timeline-item.highlight .timeline-content {
    background: linear-gradient(135deg, #fff3cd, #ffe69c);
    border: 2px solid var(--accent-color);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* 时间表网格 */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.schedule-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

.schedule-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.schedule-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.schedule-duration {
    margin-left: auto;
    background: var(--bg-alt);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.schedule-card ul {
    list-style: none;
    padding: 0;
}

.schedule-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.schedule-card li:last-child {
    border-bottom: none;
}

/* 模块网格 */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.module-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border-left: 4px solid var(--primary-color);
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.module-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.module-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-alt);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-color);
}

.tag:first-child {
    background: var(--primary-color);
    color: white;
}

/* 问卷表单 */
.questionnaire-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.questionnaire-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: bold;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.checkbox-group label:hover {
    background-color: var(--bg-alt);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.questionnaire-result {
    text-align: center;
    padding: 3rem;
}

.success-message {
    color: var(--secondary-color);
}

.success-message i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* 预期成果 */
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.outcome-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.outcome-number {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.outcome-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* 页脚 */
.footer {
    background: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.2rem;
}

.footer-section p {
    margin: 0.5rem 0;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1rem;
    display: block;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: background 0.3s;
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-address {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.footer-address i {
    margin-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

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

/* 关于作者部分 */
.author-content {
    max-width: 900px;
    margin: 0 auto;
}

.author-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.author-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.author-avatar {
    font-size: 5rem;
    color: var(--primary-color);
}

.author-info h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.author-role {
    color: #666;
    font-size: 1.1rem;
}

.author-details h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 25px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.responsibilities {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.responsibility-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s;
}

.responsibility-item:hover {
    background: #e9ecef;
}

.responsibility-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.project-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.project-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.project-item strong {
    display: block;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.project-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.project-item a:hover {
    text-decoration: underline;
}

.project-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.author-links {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #eee;
    text-align: center;
}

/* 响应式设计 - 作者部分 */
@media (max-width: 768px) {
    .author-header {
        flex-direction: column;
        text-align: center;
    }
    
    .project-item {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 工具选择区域 */
.tool-selection {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.tool-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s;
}

.tool-card.recommended {
    border: 3px solid var(--secondary-color);
    transform: scale(1.05);
}

.tool-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.tool-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tool-pros {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.tool-pros li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.tool-pros li:last-child {
    border-bottom: none;
}

.tool-note {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: 6px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.tool-recommendation {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 2rem;
    text-align: center;
}

.tool-recommendation p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 3rem;
    }

    .timeline-time {
        position: absolute;
        left: 0;
        width: 60px;
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }
}


/* 页面标题区域 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 教学项目卡片 */
.teaching-projects-grid,
.dev-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.teaching-project-card,
.dev-project-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
}

.teaching-project-card:hover,
.dev-project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.teaching-project-card.featured {
    border: 3px solid var(--secondary-color);
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

.dev-project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
    flex-wrap: wrap;
}

.project-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.project-card-header h2,
.dev-project-header h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 0;
    flex: 1;
}

.project-card-content p,
.dev-project-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.project-url {
    margin-bottom: 1rem;
}

.project-url a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.project-url a:hover {
    text-decoration: underline;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-live {
    background: #2ecc71;
    color: white;
}

.status-dev {
    background: #ffc107;
    color: #333;
}

.project-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.project-features li {
    padding: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-features li i {
    color: var(--secondary-color);
}

.project-tech {
    margin: 1.5rem 0;
}

.project-tech h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: #f0f0f0;
    color: #666;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.project-card-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* 关于页面 */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.school-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.info-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.info-item p {
    color: #666;
    margin: 0;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

/* 响应式设计 - 子页面 */
@media (max-width: 768px) {
    .teaching-projects-grid,
    .dev-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card-header,
    .dev-project-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .project-card-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* 资源中心 */
.resources-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.resource-category-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.resource-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

.category-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.category-header h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 0;
}

.resource-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resource-list li {
    margin-bottom: 0.75rem;
}

.resource-list a {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.resource-list a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
    transform: translateX(5px);
}

.resource-list a i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .resources-categories {
        grid-template-columns: 1fr;
    }
}

/* Workshop详情页 */
.workshop-detail-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    margin-top: 2rem;
}

.workshop-detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

.workshop-number {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: bold;
}

.workshop-detail-header h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin: 0;
}

.workshop-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.workshop-detail-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.workshop-detail-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.workshop-detail-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tool-tag {
    background: #e3f2fd;
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.workshop-features-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.workshop-features-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.workshop-features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.workshop-actions-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .workshop-detail-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .workshop-actions-grid {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}
