/* 关于我们页面样式 */
:root {
    --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --heartbeat-color: #26d97a;
    --wave-color-1: rgba(255, 51, 102, 0.4);
    --wave-color-2: rgba(108, 99, 255, 0.4);
    --wave-color-3: rgba(76, 175, 80, 0.3);
    --card-gradient: linear-gradient(145deg, #ffffff, #f5f5f5);
}

/* 标题区域 */
.about-hero {
    background: var(--primary-gradient);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
}

.about-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
    animation: fadeSlideUp 0.8s ease-out forwards;
}

.beat-line {
    width: 100px;
    height: 4px;
    background-color: white;
    margin: 0 auto;
    position: relative;
    border-radius: 2px;
    animation: expandWidth 1.2s ease-out forwards;
}

.pulse {
    position: absolute;
    top: -8px;
    left: 50%;
    font-size: 20px;
    transform: translateX(-50%);
    animation: pulse 1.5s infinite;
}

/* 波浪效果 */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25'/%3E%3C/svg%3E");
    background-size: 1200px 100px;
    animation: waveAnimation 20s linear infinite;
    opacity: 0.8;
}

.wave:nth-child(2) {
    bottom: 0;
    opacity: 0.5;
    animation: waveAnimationReverse 15s linear infinite;
    background-color: var(--wave-color-2);
    height: 80px;
}

.wave:nth-child(3) {
    bottom: 0;
    opacity: 0.2;
    animation: waveAnimation 30s linear infinite;
    background-color: var(--wave-color-3);
    height: 60px;
}

.wave:first-child {
    background-color: var(--wave-color-1);
}

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

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

/* 内容区域 */
.about-content {
    background-color: var(--background-color);
    padding: 50px 0;
    position: relative;
    z-index: 1;
    margin-top: -40px;
}

.about-card {
    background: var(--card-gradient);
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeSlideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.about-card:nth-child(1) {animation-delay: 0.2s;}
.about-card:nth-child(2) {animation-delay: 0.4s;}
.about-card:nth-child(3) {animation-delay: 0.6s;}
.about-card:nth-child(4) {animation-delay: 0.8s;}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-card-header {
    background: var(--primary-gradient);
    color: white;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-card-header i {
    font-size: 24px;
    margin-right: 15px;
}

.about-card-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.about-card-body {
    padding: 30px;
    line-height: 1.7;
    color: var(--text-color);
}

.about-card-body p {
    margin-bottom: 20px;
}

.about-card-body p:last-child {
    margin-bottom: 0;
}

.highlight {
    position: relative;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0 4px;
    z-index: 1;
}

.highlight::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 6px;
    background-color: var(--primary-color);
    opacity: 0.2;
    z-index: -1;
    transition: height 0.2s ease, opacity 0.2s ease;
}

.highlight:hover::before {
    height: 100%;
    opacity: 0.1;
}

/* 特性列表 */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.feature-list li {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease;
}

.feature-list li:hover {
    transform: translateY(-3px);
}

.feature-list i {
    color: var(--secondary-color);
    font-size: 20px;
    margin-right: 10px;
}

/* 来源链接 */
.source-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.source-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: white;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.source-link i {
    margin-right: 10px;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.source-link:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2);
}

.source-link:hover i {
    color: white;
    transform: translateX(3px);
}

/* 心电图动画 */
.heartbeat-container {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.heartbeat {
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none' fill='none' stroke='%2326d97a' stroke-width='3'%3E%3Cpath d='M0,60 L30,60 L40,40 L50,80 L60,20 L70,100 L80,10 L100,60 L180,60 L200,60 L210,20 L220,90 L230,30 L240,75 L270,60 L300,60 L310,30 L320,60 L400,60 L410,45 L420,75 L430,15 L440,60 L500,60 L510,40 L520,80 L530,50 L540,70 L560,60 L600,60 L800,60 L810,40 L820,80 L830,20 L840,100 L850,10 L860,60 L960,60 L970,40 L980,80 L990,60 L1200,60'/%3E%3C/svg%3E");
    background-size: 1200px 100%;
    background-repeat: repeat-x;
    animation: heartbeatScroll 15s linear infinite;
}

@keyframes heartbeatScroll {
    from { background-position: 0 0; }
    to { background-position: -1200px 0; }
}

/* 动画关键帧 */
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    0% {
        width: 0;
    }
    100% {
        width: 100px;
    }
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .about-title {
        font-size: 2.5rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .about-hero {
        padding: 60px 0 100px;
    }
    
    .about-card-header {
        padding: 15px 20px;
    }
    
    .about-card-body {
        padding: 20px;
    }
    
    .source-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .source-link {
        width: 100%;
        justify-content: center;
    }
}

/* 为了让更多进入视野的元素逐渐显示 */
@media (min-width: 768px) {
    .about-card {
        transform: translateY(50px);
        opacity: 0;
    }
    
    .about-card.visible {
        transform: translateY(0);
        opacity: 1;
        transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    }
} 