/* home.css */
.container{
    padding-right: 15px;
    padding-left: 0px;
    margin-right: auto;
    margin-left: auto;
}

.pipeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.main-image {
    position: relative;
    z-index: 1;
    transition: filter 0.3s;
}

.main-image.blur {
    filter: blur(3px);
}

.hotspot {
    position: absolute;
    width: 26%;
    height: 24%;
    /* padding-bottom: 24%; */
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s;
}

.hover-image {
    position: absolute;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: none;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.2);
}

.hover-image.active {
    opacity: 1;
    transform: scale(1.9);
}

.hover-text {
    position: absolute;
    background: rgba(255, 255, 255, 0.98);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
    width: 300px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    text-align: left;
    transform: translateX(-10px);
    border-left: 4px solid #3498db;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hover-text.active {
    opacity: 1;
    transform: translateX(0);
}
.hover-text strong {
    display: block;
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(52, 152, 219, 0.2);
    padding-bottom: 8px;
}

.hover-text p {
    margin: 0;
    color: #505c6c;
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0.3px;
}

.hover-text {
    overflow: visible;
}

/* 三个热点定位 */
#hotspot1 { left: 22%; top: 34%; }
#hotspot2 { left: 52%; top: 34%; }
#hotspot3 { left: 83%; top: 34%; }

/* Citation 样式 */
.citation-panel {
    margin-top: 30px;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.citation-title {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-left: 10%;
    margin-right: 10%;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.citation-title i {
    color: #3498db;
    margin-right: 10px;
}

.citation-content {
    padding: 20px;
    margin-left: 10%;
    margin-right: 10%;
    background: #f8f9fa;
    border-radius: 8px;
}

.access-info {
    background: #e8f4f8;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.access-info i {
    color: #2980b9;
    font-size: 20px;
    margin-right: 15px;
}

.citation-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.citation-text p {
    color: #666;
    margin-bottom: 15px;
}

.paper-citation {
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    margin: 15px 0;
}

.paper-citation i {
    color: #ffffff;
    margin-right: 10px;
}

.paper-citation span {
    color: #2c3e50;
    font-weight: 500;
}

.citation-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.citation-buttons .btn {
    padding: 8px 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.citation-buttons .btn i {
    margin-right: 5px;
}

.citation-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Welcome section 样式 */
.welcome-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.welcome-content {
    max-width: 1000px;
    margin: 0 auto;
}

.welcome-header {
    text-align: center;
    margin-bottom: 40px;
}

.welcome-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.welcome-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    perspective: 1000px;
}

/* DNA图标动画样式 */
.dna-icon {
    color: #3498db;
    font-size: 24px;
    margin: 0 20px;
    animation: dnaRotate 3s infinite linear;
    transform-style: preserve-3d;
}

.welcome-body {
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.welcome-text {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border-radius: 8px;
    background: linear-gradient(to right, #f8f9fa, white);
    border-left: 4px solid #3498db;
}

.welcome-icon {
    font-size: 24px;
    color: #3498db;
    margin-right: 20px;
    margin-top: 5px;
}

.welcome-text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #2c3e50;
    text-align: justify;
    letter-spacing: 0.3px;
}

/* 简化的DNA旋转动画 */
@keyframes dnaRotate {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .welcome-title {
        font-size: 28px;
    }
    
    .welcome-text {
        flex-direction: column;
        text-align: center;
    }
    
    .welcome-icon {
        margin: 0 0 15px 0;
    }
    
    .welcome-text p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .divider-line {
        width: 60px;
    }
}

/* Pipeline Section 样式 */
.pipeline-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.pipeline-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.section-title i {
    color: #3498db;
    margin-right: 10px;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0 30px;
}

.divider-line {
    height: 2px;
    width: 300px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
}

.branch-icon {
    color: #3498db;
    font-size: 20px;
    margin: 0 15px;
    animation: branchPulse 2s infinite ease-in-out;
}

.pipeline-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.pipeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
}

.main-image {
    width: 100%;
    border-radius: 8px;
    transition: filter 0.3s ease;
}

.hotspot::after,
.hotspot::before {
    display: none;
}

.interaction-hint {
    display: none;
}

@keyframes branchPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }
    
    .pipeline-content {
        padding: 15px;
    }
    
    .hotspot {
        width: 20px;
        height: 20px;
    }
}

/* DNA 动画样式 */
.dna {
    position: relative;
    width: 550px;
    height: 15px;
    transform: rotate(0deg);
}
.line {
    position: absolute;
    left: calc(var(--h) * 20px);
    top: 0;
    height: 15px;
    width: 1px;
    background-color: rgba(52, 152, 219, 0.6);
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.4);
    animation: round 3s linear calc(var(--h) * 0.1s) infinite;
}
@keyframes round {
    100% {
        transform: rotateX(360deg);
    }
}
.line::after, .line::before {
    content: '';
    position: absolute;
    left: -3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}
.line::after {
    top: -7px;
    background-color: rgba(41, 128, 185, 0.6);
    box-shadow: 0 0 10px rgba(41, 128, 185, 0.4);
}
.line::before {
    bottom: -7px;
    background-color: rgba(52, 152, 219, 0.6);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.4);
}