
:root {
    --primary-color: #2c7be5;
    --secondary-bg: #f8faff;
    --card-hover-shadow: 0 10px 20px rgba(44, 123, 229, 0.15);
    --text-dark: #1e2022;
    --text-muted: #677788;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #fff;
    color: var(--text-dark);
}

/* 顶部导航栏 */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eef2f6;
    padding: 1rem 0;
}

.brand-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.brand-badge {
    background: linear-gradient(135deg, #2c7be5 0%, #00d2ff 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="none" stroke="%232c7be5" stroke-width="0.5" stroke-dasharray="5,5"/></svg>') repeat;
    opacity: 0.1;
    z-index: 1;
}

/* 粒子光圈动效 */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 更动态的粒子 */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(91, 156, 255, 0.4);
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) { width: 8px; height: 8px; top: 20%; left: 10%; animation-duration: 20s; }
.particle:nth-child(2) { width: 12px; height: 12px; top: 60%; left: 80%; animation-duration: 25s; }
.particle:nth-child(3) { width: 6px; height: 6px; top: 80%; left: 30%; animation-duration: 18s; }
.particle:nth-child(4) { width: 10px; height: 10px; top: 40%; left: 70%; animation-duration: 22s; }
.particle:nth-child(5) { width: 14px; height: 14px; top: 10%; left: 90%; animation-duration: 30s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25%  { transform: translate(20px, -30px) rotate(90deg); }
    50%  { transform: translate(-20px, 20px) rotate(180deg); }
    75%  { transform: translate(10px, 40px) rotate(270deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero-blue-text {
    font-size: 1.4rem;
    color: #93c5fd;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-blue-text-second {
    font-size: 1.1rem;
    color: #bfdbfe;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-hero {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.btn-hero-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.btn-hero-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 标题部分 */
.section-title {
    text-align: center;
    font-weight: 800;
    margin: 3rem 0;
    font-size: 2.5rem;
    letter-spacing: -1px;
}

.category-card {
    padding: 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #fff;
    transform-style: preserve-3d;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}



.category-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.category-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color);
}

/* 激活状态 */
.category-card:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 12px 24px rgba(91, 156, 255, 0.3);
    border-color: #5b9cff;
}

.category-card.active {
    border-color: #5b9cff;
    background: #f0f8ff;
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 16px 32px rgba(91, 156, 255, 0.4);
}

/* 分割线 */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e7eaf3, transparent);
    margin: 3rem 0;
}

/* 详情内容区域 */
.detail-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

.project-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 32px rgba(91, 156, 255, 0.25);
    border: 1px solid #5b9cff;
}

.ability-card-img img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    padding: 16px;
    background: #f9fbfd;
    transition: transform 0.5s ease;
}

.project-card:hover .ability-card-img img {
    transform: scale(1.05);
}

.card-header-custom {
    padding: 1.5rem;
    background: #f8faff;
    border-bottom: 1px solid #e7eaf3;
}

.card-header-custom h6 {
    font-weight: 700;
    margin: 0;
    font-size: 1.1rem;
}

.img-placeholder {
    height: 160px;
    background-color: #eaeff5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c98a4;
    margin: 1.5rem;
    border-radius: 8px;
    font-size: 1.2rem;
    border: 2px dashed #dce2e8;
}

.card-body-custom {
    padding: 0 1.5rem 1.5rem;
    flex-grow: 1;
}


.intro-box {
    background-color: #f8faff;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    min-height: 80px;
    margin-bottom: 1.5rem;
}

.btn-group-custom {
    display: flex;
    gap: 10px;
}

.btn-outline-custom {
    border: 1px solid #d4dbe4;
    color: var(--text-dark);
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 团队卡片 */
.team-member {
    border: 1px solid #e7eaf3;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
    background: white;
}

.team-member:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-5px);
}

.team-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 20px auto;
}

.team-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 10px 0;
}

.team-role {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.team-bio {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 工作基础部分 */
.work-foundation {
    background-color: #f8faff;
    padding: 5rem 0;
}

.foundation-item {
    display: flex;
    gap: 16px;
    margin-bottom: 1.5rem;
    align-items: flex-start;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.foundation-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(44, 123, 229, 0.15);
}

.icon {
    font-size: 1.4rem;
    color: var(--primary-color);
    min-width: 36px;
    text-align: center;
}

.content h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

mark {
    background-color: #fffacd;
    padding: 0 4px;
    border-radius: 3px;
    font-weight: 600;
    color: #d35400;
}

/* Footer */
footer {
    background-color: #f0f7ff;
    padding: 4rem 0;
    color: var(--text-muted);
    text-align: center;
    margin-top: 4rem;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 1rem;
}

footer p {
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* 右上角 Logo 区域 */
.logo-container {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.logo-container img {
    height: 40px;
    vertical-align: middle;
}

/* 新闻动态瀑布流样式 */
.news-container {
    padding: 5rem 0;
    background-color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.badge-secondary-custom {
    background-color: #e0e0e0 !important; /* 浅灰色背景 */
    color: #333 !important;               /* 深灰色文字 */
}

.news-image {
width: 100%;
height: 200px;
background-color: #f0f4f8;
border-radius: 12px 12px 0 0;
overflow: hidden; /* 隐藏超出部分 */
display: flex;
align-items: center;
justify-content: center;
position: relative;
}

.news-image img {
width: 100%;
height: 100%;
object-fit: cover; /* 关键：保持比例并填满 */
border-radius: 12px 12px 0 0;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: #677788;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: block;
}

.news-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.news-tag {
    background-color: #f0f7ff;
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.news-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.news-link:hover {
    color: #1a56db;
}

.news-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 0.5rem;
}

.news-page-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #e7eaf3;
    background: white;
    color: var(--text-dark);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.news-page-btn:hover, .news-page-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}


.blue-bold {
    color: var(--primary-color); /* 使用主题蓝色 #2c7be5 */
    font-weight: bold;
    background-color: transparent; /* 确保无背景 */
}

.ability-card-img {
width: 85%;
height: 50%;
border-radius: 8px;
overflow: hidden;
background-color: #f0f4f8;
margin: 16px auto; /* 居中显示 */
}

.ability-card-img img {
width: 100%;
height: 100%;
object-fit: cover; /* 关键：保持比例并填满 */
border-radius: 8px;
}

.navbar .navbar-brand img {
    border-radius: 50%; /* 让图片呈现圆形 */
}
.navbar .brand-badge {
    font-weight: bold;
}
.navbar .brand-title {
    display: block; /* 确保副标题独占一行 */
}

