:root {
    --primary: #616161;  /* 钛金属灰 */
    --secondary: #DD2C00; /* 熔岩红 */
    --accent: #FFAB00;   /* 警告黄 */
}

/* 页面内容间距 */
body {
    padding-top: 80px; /* 根据标题高度调整 */
}

/* 导航栏定位修正 */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--primary) !important;
}

/* 移除固定定位相关代码 */
.page-header {
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}


.page-header h1 {
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 700;
    color: var(--secondary); /* Changed to secondary color */
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.page-header h3 {
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    line-height: 1.6;
    max-width: 800px;
    margin: 1.5rem auto 0;
    position: relative;
    z-index: 2;
}



.nav-brand {
    display: flex;
    align-items: center;
    color: white !important;
}

.nav-brand-icon {
    font-size: 2rem;
    margin-right: 12px;
}


.nav-link {
    color: rgba(255,255,255,0.8) !important;
    transition: all 0.3s;
    margin: 0 15px;
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

.register-btn {
    background: var(--accent) !important;
    border-radius: 25px;
    padding: 8px 25px;
    font-weight: bold;
    transition: transform 0.3s;
}

.timeline-wrapper {
    position: relative;
    padding: 4rem 0;
    z-index: 1;
 
    background: linear-gradient(to right, 
        var(--primary) 0%, 
        var(--accent) 100%);
        
}


.timeline-bar {
    height: 4px;
    background: white;
    position: absolute;
    top: 34%;
    left: 10%;
    right: 10%;
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    padding: 0 10%;
}

.timeline-node {
    text-align: center;
    position: relative;
    flex: 1;
}

.node-circle {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.node-circle:hover {
    transform: scale(1.1) rotate(15deg);
}

.node-label {
    margin-top: 1rem;
    color: white;
    font-weight: 500;
}

.node-label small {
    display: block;
    font-size: 0.8em;
    opacity: 0.8;
}


/* 主要CTA */
.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 1rem;
    border: 2px solid var(--accent);
}

/* 添加按钮悬停动画 */
.btn-primary {
    transition: transform 0.2s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .timeline-horizontal {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .timeline-item {
        flex: 0 1 45%;
    }
    .btn-lg {
        width: 100%;
    }
    

}

.text-primary {
    color: var(--accent) !important; /* Override to use secondary color */
}