/* 实验室页面特定样式 */

/* 页面标题 */
.lab-header {
    background-image: linear-gradient(to right, #2e1065, #4c1d95);
    color: white;
}

.lab-header p {
    color: rgba(255, 255, 255, 0.9);
}

/* 实验室介绍 */
.lab-intro {
    padding-bottom: 3rem;
}

.lab-intro-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.lab-intro-content > p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.lab-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.lab-feature {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease;
}

.lab-feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon img {
    width: 64px;
    height: 64px;
}

.lab-feature h3 {
    margin-bottom: 1rem;
    color: #4c1d95;
}

.lab-feature p {
    color: var(--text-light);
}

/* 开始使用 */
.get-started {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.get-started-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.get-started-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.steps {
    margin-bottom: 2rem;
}

.steps li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #4c1d95;
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #4c1d95;
}

.step-content p {
    color: var(--text-light);
}

.get-started-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* 实验项目 */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-tag {
    display: inline-block;
    background-color: #e9d5ff;
    color: #6b21a8;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-content h3 {
    margin-bottom: 1rem;
    color: #4c1d95;
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.project-meta span {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.project-meta span img {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    opacity: 0.7;
}

.project-card .btn {
    width: 100%;
}

.projects-action {
    text-align: center;
}

/* 资源和工具 */
.lab-resources {
    background-color: var(--bg-light);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.resource-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.resource-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.resource-icon img {
    width: 48px;
    height: 48px;
}

.resource-card h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #4c1d95;
}

.resource-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.btn-course {
    align-self: flex-start;
    margin-top: auto;
}

.resource-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.resource-list li:last-child {
    border-bottom: none;
}

/* 常见问题 */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.faq-item {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: #4c1d95;
}

.faq-item p {
    color: var(--text-light);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .lab-features,
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .get-started-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .lab-features,
    .resources-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* 用户反馈 */
.testimonial-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-dark);
    position: relative;
    padding: 0 1rem;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 1.5rem;
    color: #4c1d95;
    font-weight: bold;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    margin-top: auto;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e9d5ff;
}

.author-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.author-info h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    text-align: center;
}

.author-info p {
    margin: 0.25rem 0 0;
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
} 