body {
    background-color: #F8FAFC;
    color: #2C3E50;
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    line-height: 1.6;
}

.edtech-blue { color: #4A90E2; }
.text-edtech-workshopBlue { color: #60a5fa; }
.bg-edtech-blue { background-color: #4A90E2; }
.bg-edtech-lightBlue { background-color: #F0F7FF; }
.edtech-green { color: #50BFA5; }
.bg-edtech-green { background-color: #50BFA5; }
.bg-edtech-lightGreen { background-color: #E6F7F3; }
.edtech-gray { color: #7F8C8D; }
.border-edtech-border { border-color: #E2E8F0; }

#workshop-status-badge.active { background-color: #50BFA5; color: white; }
#workshop-status-badge.recruiting { background-color: #F59E0B; color: white; }
#workshop-status-badge.finished { background-color: #94A3B8; color: white; }

.stem-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stem-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.timeline-line::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #E2E8F0;
    z-index: 0;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .timeline-line::before {
        left: 20px;
        transform: none;
    }

    /* 移动端导航隐藏 */
    header nav {
        display: none;
    }

    /* 移动端按钮调整 */
    header button {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    /* 移动端标题调整 */
    header h1 {
        font-size: 1rem;
    }

    header p {
        font-size: 0.625rem;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 导航链接激活状态 */
nav a.active {
    color: #4A90E2;
    font-weight: 600;
    position: relative;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #4A90E2;
    border-radius: 2px;
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 响应式图片 */
img {
    max-width: 100%;
    height: auto;
}

/* 移动端表格优化 */
@media (max-width: 768px) {
    table {
        font-size: 0.875rem;
    }

    table th,
    table td {
        padding: 0.5rem !important;
    }
}

/* 按钮悬停效果增强 */
button, .button {
    transition: all 0.3s ease;
}

button:hover, .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* 卡片阴影优化 */
.bg-white {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #4A90E2;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a7bc8;
}

/* 链接悬停效果 */
a {
    transition: color 0.2s ease;
}

/* 输入焦点样式 */
input:focus, textarea:focus, select:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
}

/* 模态框动画 */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.animate-modal {
    animation: modalSlideIn 0.3s ease-out;
}

#bookingModal {
    animation: modalFadeIn 0.3s ease-out;
}

/* 表单输入样式优化 */
input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}
