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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #f8fafc;
    scroll-behavior: smooth;
}

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

/* 顶部导航栏 */
.navbar {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    font-size: 1.25rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3b82f6, #f97316);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    background-color: #dbeafe;
    color: #1d4ed8;
}

.nav-link i {
    font-size: 1rem;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #f97316 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #bfdbfe;
}

.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #1d4ed8;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.2s;
}

.hero-btn:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

/* 通用样式 */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 16px;
    color: #1e293b;
}

.section-header p {
    font-size: 1.125rem;
    color: #64748b;
}

/* 培训特色 */
.features {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6, #f97316);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
}

/* 培训模块 */
.modules {
    padding: 80px 0;
    background: #f1f5f9;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 32px;
}

.module-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s;
}

.module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.module-header {
    height: 4px;
    margin-bottom: 32px;
}

.module-header.blue {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.module-header.orange {
    background: linear-gradient(90deg, #f97316, #ea580c);
}

.module-card .module-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 32px 32px 0;
    height: auto;
    background: none;
    margin-bottom: 24px;
}

.module-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.blue .module-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.orange .module-icon {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.module-header h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 4px;
}

.module-time {
    font-size: 0.875rem;
    color: #64748b;
}

.module-description {
    padding: 0 32px;
    font-size: 1.125rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 24px;
}

.module-objectives {
    padding: 0 32px;
    margin-bottom: 32px;
}

.module-objectives h4 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.module-objectives ul {
    list-style: none;
}

.module-objectives li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
    color: #64748b;
}

.module-objectives li::before {
    content: '•';
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: -2px;
}

.module-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 32px 32px;
    padding: 12px 24px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.module-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

/* 时间线 */
.timeline {
    padding: 80px 0;
    background: white;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dbeafe;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 48px;
    position: relative;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.timeline-content {
    background: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    flex-grow: 1;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 8px;
}

.timeline-time {
    color: #3b82f6;
    font-weight: 500;
    margin-bottom: 8px;
}

/* CTA区域 */
.cta {
    padding: 80px 0;
    background: #2563eb;
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #dbeafe;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.2s;
}

.cta-btn.primary {
    background: white;
    color: #2563eb;
}

.cta-btn.primary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* 底部 */
.footer {
    background: #1e293b;
    color: #94a3b8;
    padding: 40px 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 1.125rem;
    color: white;
}

.footer-info {
    font-size: 0.875rem;
    margin-top: 8px;
    color: #64748b;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
} 