/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
}

/* Banner样式 */
.banner {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.banner img {
    width: 100%;
    display: block;
}

/* 主容器样式 */
.aboutBox {
    width: 100%;
    margin: 0 auto;
}

.contentBox {
    width: 1200px;
    margin: 40px auto;
    display: flex;
    justify-content: space-between;
    background-color: transparent;
    position: relative;
}

/* 左侧导航样式 */
.leftNav {
    width: 210px;
    border-radius: 12px;
    margin-right: 32px;
    padding: 32px 0 32px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
}

.leftNav-fixed {
    position: fixed;
    top: 0;
}

.nav-title {
    font-size: 14px;
    color: #999;
    font-weight: normal;
    margin-left: 32px;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.leftNav ul {
    list-style: none;
    border: none;
    padding-left: 0;
    width: 100%;
}

.leftNav li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 0 0 0 32px;
    position: relative;
    font-size: 16px;
    color: #999;
    line-height: 1.5;
    height: 38px;
    cursor: pointer;
    transition: color 0.2s;
    background: transparent;
}

.leftNav li .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e5e5e5;
    margin-right: 14px;
    transition: background 0.2s;
}

.leftNav li.active {
    color: #e60012;
    font-weight: bold;
    background: transparent;
}

.leftNav li.active .dot {
    background: #e60012;
}

.leftNav li.active::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: #e60012;
    border-radius: 2px;
}

.leftNav a {
    text-decoration: none;
    color: inherit;
    font-size: 16px;
    display: block;
    flex: 1;
}

.nav-divider {
    width: 80%;
    height: 1px;
    background: #f2f2f2;
    margin: 24px auto 0 auto;
    border: none;
}

.leftNav li:not(.active):hover {
    color: #e60012;
}

.leftNav li:not(.active):hover .dot {
    background: #e60012;
}

/* 右侧内容区样式 */
.rightContent {
    flex: 1;
    margin-left: 242px; /* 210px width + 32px right margin */
}

/* 卡片区域样式 */
.card-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.04);
    margin-bottom: 32px;
    padding: 32px 40px 32px 40px;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    color: #222;
    margin-bottom: 8px;
}

.card-subtitle {
    font-size: 12px;
    color: #bbb;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* 媒体内容样式 */
.media-content {
    display: flex;
    margin-top: 20px;
}

.media-info {
    width: 50%;
    padding-right: 30px;
}

.detail-item {
    margin-bottom: 15px;
}

.detail-label {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    display: inline-block;
    width: 100px;
}
.detail-label::before {
    content: "* ";
    color: #e60012;
    font-size: 16px;
    vertical-align: middle;
}

.detail-text {
    color: #666;
    line-height: 1.6;
    display: inline-block;
    width: calc(100% - 110px);
    vertical-align: top;
}

.stats-box {
    display: flex;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}

.stats-item {
    margin-right: 40px;
    text-align: center;
}

.stats-num {
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    background: #e60012;
    border-radius: 20px;
    padding: 0 10px;
}

/* 为数字增长动画添加的样式 */
.stats-num.animated {
    animation: pulse-animation 1s ease;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.stats-label {
    color: #666;
    font-size: 14px;
}

.media-image {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-image img {
    width: 100%;
    border-radius: 5px;
}

/* 特殊背景 */
.special-bg {
    background-color: rgba(255,80,0,0.05);
}

/* 响应式样式 */
@media screen and (max-width: 1200px) {
    .contentBox {
        width: 95%;
        flex-direction: column;
    }
    
    .leftNav {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .media-content {
        flex-direction: column;
    }
    
    .media-info, .media-image {
        width: 100%;
        padding-right: 0;
    }
    
    .media-image {
        margin-top: 20px;
        justify-content: flex-start;
    }
}

/* 页脚样式 */
footer {
    background-color: #232429;
    color: #fff;
    padding: 40px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer-logo img {
    width: 150px;
    margin-bottom: 20px;
}

.footer-nav h4, .footer-contact h4, .footer-social h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-nav ul li a:hover {
    color: #ff6600;
}

.footer-border {
    width: 1px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 20px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    cursor: pointer;
}

.social-icon img {
    width: 30px;
    transition: transform 0.3s;
}

#qr-popup {
    display: none;
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 100;
}

#qr-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 40px;
}

.footer-app {
    text-align: center;
}

.footer-app img {
    width: 120px;
    margin-bottom: 10px;
}

.footer-app p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-border {
        display: none;
    }
    
    .footer-app {
        margin-top: 30px;
    }
} 