:root {
    --bs-primary: #0066CC; /* 科技蓝 */
    --bs-primary-rgb: 0, 102, 204;
    --bs-secondary: #FF6600; /* 活力橙 */
    --bs-secondary-rgb: 255, 102, 0;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --text-main: #333333;
    --text-muted: #666666;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    transition: all 0.3s ease;
    padding: 0.8rem 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    z-index: 1050;
}

.navbar.navbar-scrolled {
    padding: 0.5rem 0;
}

.navbar-brand .text-primary {
    letter-spacing: 1px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main) !important;
    margin: 0 12px;
    padding: 0.5rem 0 !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--bs-primary);
    transition: width 0.3s ease;
}

.nav-link:hover:after, .nav-link.active:after {
    width: 100%;
}

.nav-link:hover, .nav-link.active {
    color: var(--bs-primary) !important;
}

/* 下拉菜单统一 */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 0.5rem;
    margin-top: 10px !important;
}

.dropdown-item {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.05);
    color: var(--bs-primary);
}

.dropdown-item.active {
    background-color: var(--bs-primary);
    color: white;
}

/* 按钮样式 */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    padding: 0.6rem 1.5rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #0052a3;
    border-color: #0052a3;
}

.btn-outline-primary {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-outline-primary:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-secondary {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: #e65c00;
    border-color: #e65c00;
    color: white;
}

/* 区块标题 */
.section-title {
    margin-bottom: 3rem;
    text-align: center;
}

.section-title h2 {
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: var(--bs-primary);
    bottom: 0;
    left: calc(50% - 30px);
}

.section-title p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* 页脚样式 */
footer {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 4rem 0 2rem;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.8rem;
}

footer ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

footer ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    color: #888;
    font-size: 0.9rem;
}

/* 动画延迟 */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* 响应式调整 */
@media (max-width: 768px) {
    .section-title h2 { font-size: 1.75rem; }
}
