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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
    line-height: 1.6;
    color: #2D3748;
    overflow-x: hidden;
}

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

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #2E86AB;
    font-size: 24px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #2D3748;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2E86AB;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2E86AB;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2E86AB;
    margin: 3px 0;
    transition: 0.3s;
}

/* 下拉菜单样式 */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 180px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    padding: 8px 0;
    margin-top: 10px;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #2D3748;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    background: #f8f9fa;
    color: #2E86AB;
    border-left-color: #2E86AB;
    transform: translateX(5px);
}

/* 移动端下拉菜单 */
@media (max-width: 768px) {
    .nav-item.dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        margin-top: 0;
        display: none;
    }

    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-link {
        padding: 10px 20px;
        margin-left: 20px;
        border-left: 2px solid #e2e8f0;
    }

    .dropdown-link:hover {
        background: rgba(46, 134, 171, 0.1);
        transform: none;
        border-left-color: #2E86AB;
    }
}

/* 首页横幅样式 */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    text-align: right;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease forwards;
}

.slide-content p {
    font-size: 1.5rem;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease 0.3s forwards;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #FF9800;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #2E86AB, #4CAF50);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 134, 171, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 134, 171, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2E86AB;
    transform: translateY(-3px);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 15;
}

.prev-btn, .next-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 15;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* 章节标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: #2E86AB;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #2E86AB, #4CAF50);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
}

/* 关于我们样式 */
.about {
    padding: 100px 0;
    background: #F7FAFC;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    color: #2E86AB;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.image-grid img:first-child {
    grid-column: 1 / -1;
}

.about-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: translateY(-10px);
}

/* 核心业务样式 */
.services {
    padding: 100px 0;
}

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

.service-category {
    display: block;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.service-category:hover {
    transform: translateY(-10px);
}

.category-title {
    color: #2E86AB;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.category-desc {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.service-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service-img:hover {
    transform: scale(1.05);
}

.service-action {
    margin-top: 20px;
    text-align: center;
}

.service-btn {
    display: inline-block;
    background: linear-gradient(135deg, #2E86AB, #4CAF50);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 134, 171, 0.3);
}

.service-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 134, 171, 0.4);
    color: white;
}

/* 技术实力样式 */
.technology {
    padding: 100px 0;
    background: linear-gradient(135deg, #2E86AB, #4CAF50);
    color: white;
}

.technology .section-title {
    color: white;
}

.technology .section-title::after {
    background: white;
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tech-item {
    margin-bottom: 2rem;
}

.tech-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #FF9800;
}

.tech-item p {
    line-height: 1.8;
    opacity: 0.9;
}

.tech-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.tech-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.compliance {
    padding: 100px 0;
    background: #f5f9ff;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.compliance-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 20px 45px rgba(46, 134, 171, 0.15);
    border: 1px solid rgba(46, 134, 171, 0.18);
    position: relative;
    overflow: hidden;
}

.compliance-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(78, 205, 196, 0.08), rgba(46, 134, 171, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.compliance-card:hover::after {
    opacity: 1;
}

.compliance-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2E86AB, #4CAF50);
    color: white;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 18px;
}

.compliance-card h3 {
    font-size: 1.4rem;
    color: #2E86AB;
    margin-bottom: 12px;
}

.compliance-card p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 18px;
}

.compliance-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compliance-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1f2937;
    font-weight: 500;
    margin-bottom: 6px;
}

.compliance-card li::before {
    content: '•';
    color: #4CAF50;
    font-size: 1.2rem;
}

.compliance-cta {
    margin-top: 40px;
    text-align: center;
    background: rgba(46, 134, 171, 0.08);
    border-radius: 18px;
    padding: 28px 30px;
    border: 1px solid rgba(46, 134, 171, 0.18);
}

.compliance-cta p {
    color: #2E86AB;
    font-weight: 500;
    margin-bottom: 18px;
}

.compliance-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2E86AB, #4CAF50);
    color: white;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 18px 35px rgba(46, 134, 171, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.compliance-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 42px rgba(46, 134, 171, 0.3);
}

/* 联系我们样式 */
.contact {
    padding: 100px 0;
    background: #F7FAFC;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: #2E86AB;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-item p {
    color: #555;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: #2E86AB;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2E86AB;
}

/* 页脚样式 */
.footer {
    background: #2D3748;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: #2E86AB;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #CBD5E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2E86AB;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #4A5568;
    color: #CBD5E0;
}

/* 动画效果 */
@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-images {
        grid-template-columns: repeat(2, 1fr);
    }

    .compliance-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .compliance-cta {
        padding: 24px;
    }

    .tech-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .slider-controls {
        padding: 0 20px;
    }

    .prev-btn, .next-btn {
        font-size: 1.5rem;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-images {
        grid-template-columns: 1fr;
    }

    .compliance-card {
        padding: 28px 22px;
    }

    .compliance-btn {
        width: 100%;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

    .image-grid img:first-child {
        grid-column: 1;
    }
}

/* ========== 生物科技专业功能样式 ========== */

/* DNA动画背景 */
.dna-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    opacity: 0.1;
}

.dna-helix {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 200px;
    height: 400px;
    animation: dna-float 6s ease-in-out infinite;
}

@keyframes dna-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.dna-strand {
    position: absolute;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #2E86AB, #4CAF50);
    border-radius: 2px;
}

.strand-1 {
    left: 30px;
    animation: dna-twist-1 4s linear infinite;
}

.strand-2 {
    right: 30px;
    animation: dna-twist-2 4s linear infinite;
}

@keyframes dna-twist-1 {
    0% { transform: translateX(0) rotateY(0deg); }
    25% { transform: translateX(15px) rotateY(90deg); }
    50% { transform: translateX(0) rotateY(180deg); }
    75% { transform: translateX(-15px) rotateY(270deg); }
    100% { transform: translateX(0) rotateY(360deg); }
}

@keyframes dna-twist-2 {
    0% { transform: translateX(0) rotateY(180deg); }
    25% { transform: translateX(-15px) rotateY(270deg); }
    50% { transform: translateX(0) rotateY(360deg); }
    75% { transform: translateX(15px) rotateY(450deg); }
    100% { transform: translateX(0) rotateY(540deg); }
}

.dna-bases {
    position: absolute;
    width: 100%;
    height: 100%;
}

.base {
    position: absolute;
    width: 60px;
    height: 6px;
    border-radius: 3px;
    left: 50%;
    transform: translateX(-50%);
}

.base-a {
    top: 20%;
    background: #FF6B6B;
    animation: base-pulse 2s ease-in-out infinite;
}

.base-t {
    top: 40%;
    background: #4ECDC4;
    animation: base-pulse 2s ease-in-out infinite 0.5s;
}

.base-g {
    top: 60%;
    background: #45B7D1;
    animation: base-pulse 2s ease-in-out infinite 1s;
}

.base-c {
    top: 80%;
    background: #96CEB4;
    animation: base-pulse 2s ease-in-out infinite 1.5s;
}

@keyframes base-pulse {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 1; transform: translateX(-50%) scaleX(1.2); }
}

.molecular-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #2E86AB, #4CAF50);
    border-radius: 50%;
    animation: particle-float 8s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 30%;
    left: 80%;
    animation-delay: 1.6s;
}

.particle:nth-child(3) {
    top: 60%;
    left: 15%;
    animation-delay: 3.2s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 70%;
    animation-delay: 4.8s;
}

.particle:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 6.4s;
}

@keyframes particle-float {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.5; }
    25% { transform: translateY(-30px) scale(1.2); opacity: 0.8; }
    50% { transform: translateY(-60px) scale(0.8); opacity: 1; }
    75% { transform: translateY(-30px) scale(1.1); opacity: 0.6; }
}

/* 健康指标覆盖层 */
.health-metrics-overlay {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    z-index: 2;
}

.metric-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    color: white;
    min-width: 120px;
    transition: all 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(46, 134, 171, 0.3);
}

.metric-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #00F5FF, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

/* 研发创新管线 */
.research-pipeline {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.research-pipeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill-opacity='0.03'%3E%3Ccircle fill='%232E86AB' cx='40' cy='40' r='2'/%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

.pipeline-dashboard {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(46, 134, 171, 0.15);
    border: 1px solid rgba(46, 134, 171, 0.1);
    position: relative;
}

.pipeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.pipeline-header h3 {
    color: #1a365d;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.pipeline-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-indicator.active {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}

.last-update {
    font-size: 0.8rem;
    color: #64748b;
}

.pipeline-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-item:hover {
    border-color: #2E86AB;
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(46, 134, 171, 0.2);
}

.timeline-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2E86AB, #4CAF50);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(46, 134, 171, 0.3);
}

.timeline-content {
    flex: 1;
}

.timeline-content h4 {
    color: #1a365d;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2E86AB, #4CAF50);
    border-radius: 6px;
    transition: width 2s ease-in-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 600;
}

.research-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.metric-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(46, 134, 171, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 134, 171, 0.1), transparent);
    transition: left 0.5s ease;
}

.metric-card:hover::before {
    left: 100%;
}

.metric-card:hover {
    border-color: #2E86AB;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(46, 134, 171, 0.2);
}

.metric-card .metric-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.metric-card .metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a365d;
    margin-bottom: 0.25rem;
    display: block;
}

.metric-card .metric-label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.metric-trend {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
}

.metric-trend.positive {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
}

.metric-trend.stable {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

/* 智能实验室 */
.smart-lab {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 100px 0;
}

.lab-showcase {
    margin-bottom: 3rem;
}

.lab-equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.equipment-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(46, 134, 171, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.equipment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 134, 171, 0.05), rgba(76, 175, 80, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.equipment-item:hover::before {
    opacity: 1;
}

.equipment-item:hover {
    border-color: #2E86AB;
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(46, 134, 171, 0.2);
}

.equipment-item .equipment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.equipment-item h4 {
    color: #1a365d;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.equipment-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.equipment-specs span {
    font-size: 0.8rem;
    color: #64748b;
    background: #f8fafc;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
}

.equipment-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.equipment-status.online {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
}

.equipment-status.maintenance {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
}

.lab-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(46, 134, 171, 0.1);
}

.stat-circle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring {
    transform: rotate(-90deg);
}

.lab-progress {
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    stroke-linecap: round;
    transition: stroke-dashoffset 2s ease-in-out;
}

.stat-text {
    position: absolute;
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a365d;
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.lab-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.lab-metrics .metric-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.lab-metrics .metric-item:hover {
    border-color: #2E86AB;
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(46, 134, 171, 0.15);
}

/* 分子结构查看器 */
.molecular-viewer {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: white;
    position: relative;
    padding: 100px 0;
}

.molecular-viewer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill-opacity='0.03'%3E%3Ccircle fill='%23ffffff' cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
}

.molecule-showcase {
    margin-bottom: 3rem;
}

.molecule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.molecule-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.molecule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.molecule-structure {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    perspective: 200px;
}

.atom {
    position: absolute;
    border-radius: 50%;
    animation: atom-orbit 4s linear infinite;
}

.atom-c {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #4A90E2, #2E86AB);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.atom-o {
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, #E74C3C, #C0392B);
    top: 20%;
    left: 60%;
    animation-delay: 1s;
}

.atom-h {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #ECF0F1, #BDC3C7);
    top: 70%;
    left: 30%;
    animation-delay: 2s;
}

.atom-n {
    width: 18px;
    height: 18px;
    background: radial-gradient(circle, #3498DB, #2980B9);
    top: 30%;
    left: 20%;
    animation-delay: 0.5s;
}

.atom-s {
    width: 22px;
    height: 22px;
    background: radial-gradient(circle, #F39C12, #E67E22);
    top: 60%;
    left: 70%;
    animation-delay: 1.5s;
}

@keyframes atom-orbit {
    0% { transform: translate(-50%, -50%) rotateY(0deg) translateZ(20px) rotateY(0deg); }
    100% { transform: translate(-50%, -50%) rotateY(360deg) translateZ(20px) rotateY(-360deg); }
}

.bond {
    position: absolute;
    background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    border-radius: 1px;
}

.bond-1 {
    width: 40px;
    height: 2px;
    top: 50%;
    left: 40%;
    transform: rotate(45deg);
}

.bond-2 {
    width: 35px;
    height: 2px;
    top: 40%;
    left: 55%;
    transform: rotate(-30deg);
}

.bond-3 {
    width: 30px;
    height: 2px;
    top: 65%;
    left: 45%;
    transform: rotate(60deg);
}

.molecule-card h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.molecule-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.molecule-data {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.molecule-data span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
}

.molecular-benefits {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.molecular-benefits h3 {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: benefit-glow 3s ease-in-out infinite;
}

@keyframes benefit-glow {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(46, 134, 171, 0.5); }
}

.benefit-item h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* 健康影响数据 */
.health-impact {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 100px 0;
}

.impact-dashboard {
    margin-bottom: 3rem;
}

.impact-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.impact-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(46, 134, 171, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.impact-card:hover {
    border-color: #2E86AB;
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(46, 134, 171, 0.2);
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: impact-pulse 2s ease-in-out infinite;
}

@keyframes impact-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.impact-card h4 {
    color: #1a365d;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.impact-data {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
}

.data-point {
    text-align: center;
}

.data-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2E86AB;
    display: block;
    margin-bottom: 0.25rem;
}

.data-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.study-ref {
    font-size: 0.7rem;
    color: #94a3b8;
    font-style: italic;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
}

.health-calculator {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(46, 134, 171, 0.1);
}

.health-calculator h3 {
    color: #1a365d;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.calculator-form {
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    color: #1a365d;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.input-group input,
.input-group select {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #1a365d;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #2E86AB;
    background: white;
    box-shadow: 0 0 20px rgba(46, 134, 171, 0.3);
}

.calculate-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2E86AB, #4CAF50);
    color: white;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(46, 134, 171, 0.4);
}

.result-display {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #e2e8f0;
    border-radius: 15px;
    background: #f8fafc;
}

.result-placeholder {
    text-align: center;
    color: #64748b;
}

.result-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

/* 响应式设计增强 */
@media (max-width: 768px) {
    .health-metrics-overlay {
        flex-direction: column;
        gap: 15px;
        bottom: 50px;
    }

    .metric-item {
        min-width: auto;
        padding: 15px;
    }

    .research-metrics,
    .lab-equipment-grid,
    .molecule-grid,
    .benefits-grid,
    .impact-metrics {
        grid-template-columns: 1fr;
    }

    .lab-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .lab-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .impact-data {
        flex-direction: column;
        gap: 1rem;
    }

    .dna-helix {
        width: 150px;
        height: 300px;
        right: 5%;
    }

    .timeline-item {
        padding: 1rem;
    }

    .timeline-item:hover {
        transform: translateX(5px);
    }

    .timeline-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .molecule-structure {
        width: 100px;
        height: 100px;
    }

    .atom-c { width: 16px; height: 16px; }
    .atom-o { width: 12px; height: 12px; }
    .atom-h { width: 10px; height: 10px; }
    .atom-n { width: 14px; height: 14px; }
    .atom-s { width: 18px; height: 18px; }

    .bond-1, .bond-2, .bond-3 {
        width: 25px;
    }
}
