:root {
    --primary-color: #4361ee;
    --bs-primary: #4361ee;
    --primary-dark: #3a56d4;
    --secondary-color: #2b2d42;
    --accent-color: #f72585;
    --accent-dark: #e6196f;
    --light-bg: #f8f9fa;
    --dark-bg: #212529;
    --text-dark: #2b2d42;
    --text-light: #6c757d;
    --text-white: #ffffff;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 1.5rem;
}

body {
    color: var(--text-dark);
    line-height: 1.7;
    background-color: #fff;
}

.hero-section {
    background: linear-gradient(
            135deg,
            var(--secondary-color) 0%,
            var(--primary-color) 100%
    );
    color: white;
    padding: 140px 0 120px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-section {
    background: linear-gradient(
            135deg,
            var(--secondary-color) 0%,
            var(--primary-color) 100%
    );
    color: white;
    padding: 140px 0 120px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

/* 让主图有更强的立体感 */
.hero-main-img {
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 1.5px 8px rgba(0,0,0,0.10);
    border-radius: 1.5rem;
    position: relative;
    z-index: 1;
}

/* 鸿蒙APP截图样式 */
.hero-harmony-img {
    position: absolute;
    right: 150px;
    top: 20px;
    width: 140px;
    max-width: 40%;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.30), 0 1.5px 8px rgba(0,0,0,0.15);
    z-index: 3;
    transform: rotate(-8deg) scale(1.05);
    transition: transform 0.3s cubic-bezier(.4,2,.6,1);
    background: #fff;
}

/* 鸿蒙APP截图悬停效果 */
.hero-harmony-img:hover {
    transform: rotate(-4deg) scale(1.1);
    box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

/* 手机截图样式 */
.hero-mobile-img {
    position: absolute;
    right: 0;
    bottom: -10px;
    width: 160px;
    max-width: 45%;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 1.5px 8px rgba(0,0,0,0.18);
    z-index: 2;
    transform: rotate(10deg) scale(1.08);
    transition: transform 0.3s cubic-bezier(.4,2,.6,1);
    background: #fff;
}

/* 鼠标悬停时有轻微弹跳 */
.hero-mobile-img:hover {
    transform: rotate(6deg) scale(1.13);
    box-shadow: 0 16px 48px rgba(0,0,0,0.40);
}

.bg-warning-soft {
    background-color: rgba(255, 193, 7, 0.1);
}
.bg-success-soft {
    background-color: rgba(40, 167, 69, 0.1);
}
.icon-wrapper {
    transition: all 0.3s ease;
}

.rounded-4 {
    border-radius: 1rem;
}

.section-title {
    font-weight: 700;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    color: var(--text-dark);
}

.section-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.text-center .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

/* 添加动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.section-padding {
    animation: fadeInUp 0.8s ease-out;
}

.badge.bg-primary-soft {
    background-color: rgba(78, 115, 223, 0.1);
    color: #4e73df;
    font-weight: 500;
    letter-spacing: 0.5px;
}
/* 响应式调整 */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .card-text {
        font-size: 1rem;
    }

    .icon-wrapper {
        padding: 0.75rem;
    }
}

.feature-box {
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: all 0.4s ease;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.feature-box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0;
    transition: all 0.4s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-box:hover:before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    background: linear-gradient(
            135deg,
            var(--primary-color) 0%,
            var(--accent-color) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* 功能展示区域样式 */
.section-title {
    position: relative;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4a6cf7, #6e8ffa);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

/* 功能卡片网格布局 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 2rem;
}

/* 功能卡片样式 */
.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.05) 0%, rgba(240, 244, 255, 0.3) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}


/* 功能标题样式 */
.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: #4a6cf7;
}

/* 功能描述样式 */
.feature-desc {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.5;
}

/* 重点推荐功能卡片样式 */
.highlight-feature {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.08) 0%, rgba(247, 37, 133, 0.05) 100%);
    border: 2px solid rgba(67, 97, 238, 0.2);
    position: relative;
    overflow: visible;
}

.highlight-feature::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-feature:hover::after {
    opacity: 0.1;
}

.highlight-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(67, 97, 238, 0.15);
}

.highlight-feature .feature-title {
    color: var(--primary-color);
    font-weight: 700;
}

.highlight-feature .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

.highlight-feature .feature-action {
    margin-top: 1rem;
}

.highlight-feature .btn {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    transition: all 0.3s ease;
}

.highlight-feature .btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* 更多功能卡片特殊样式 */
.more-features {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
}

.more-features:hover {
    border-color: #4a6cf7;
}

.more-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    background: rgba(74, 108, 247, 0.1);
    color: #4a6cf7;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.more-features:hover .more-icon {
    background: rgba(74, 108, 247, 0.2);
    transform: scale(1.1);
}

.tech-badge {
    display: inline-block;
    background-color: var(--light-bg);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin: 0.5rem;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-badge:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.stats-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 1.5rem;
    background-color: white;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stats-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(
            135deg,
            var(--primary-color) 0%,
            var(--accent-color) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 1rem;
}
.stats-number-sup {
    font-size: 2.5rem;
    font-weight: 600;
    background: linear-gradient(
            135deg,
            var(--primary-color) 0%,
            var(--accent-color) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    position: relative;
    top: -0.5em;
    vertical-align: super;
    margin-bottom: 0;
}


.stats-text {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
}

.section-padding {
    padding: 6rem 0;
}
.bg-gradient-primary {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
}
.bg-gradient-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.text-gradient {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hover-lift {
    transition: transform 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
}
f
.ai-card {
    transition: all 0.3s ease;
}
.ai-card:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}
.ai-card-img {
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.ai-card:hover .ai-card-img {
    transform: scale(1.05);
}
.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.feature-icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(78, 115, 223, 0.1);
}
.feature-list li {
    transition: transform 0.3s ease;
}
.feature-list li:hover {
    transform: translateX(5px);
}
.badge.bg-primary-soft {
    background-color: rgba(78, 115, 223, 0.1);
    color: #4e73df;
    font-weight: 500;
}
/* 响应式调整 */
@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }

    .ai-card-img {
        height: 150px;
    }
}

footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 0 0 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(
            90deg,
            var(--primary-color),
            var(--accent-color)
    );
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: white;
}


.deployment-card {
    background-color: white;
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.deployment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.deployment-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(
            135deg,
            var(--primary-color) 0%,
            var(--accent-color) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.table-responsive {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(67, 97, 238, 0.05);
}

.table-primary {
    background-color: var(--primary-color) !important;
    color: white;
}

.navbar {
    transition: all 0.3s;
    padding: 1rem 0;
    background-color: transparent !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-scrolled {
    background-color: var(--dark-bg) !important;
    padding: 0.75rem 0;
    position: fixed;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    position: relative;
}

.nav-link:after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent-color);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover:after {
    width: 70%;
}

.section-padding {
    padding: 7rem 0;
}

.bg-light {
    background-color: #f9fafb !important;
}

.card {
    border: none;
    transition: all 0.3s;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-body {
    padding: 2rem;
}

/* 软著展示样式 */
.copyright-card {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    height: 100%;
    max-width: 450px;
    margin: 0 auto;
    width: auto;
    position: relative;
}

.copyright-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.copyright-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 5px solid var(--primary-color);
}

.copyright-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    color: white;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 80px;
    }

    .section-padding {
        padding: 4rem 0;
    }
}

/* 页脚样式 */
.footer-area {
    background-color: #1a2035;
    color: #fff;
    position: relative;
}

.footer-top {
    padding: 80px 0 50px;
    position: relative;
    z-index: 1;
}

.footer-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: 0.05;
    z-index: -1;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.icp-info {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.icp-info a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp-info a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.icp-info img {
    height: 20px;
    width: auto;
}

.footer-widget-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-links a:hover i {
    color: var(--primary-color);
}

.contact-info {
    margin-top: 5px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-text p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    position: relative;
}

.copyright-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 991px) {
    .footer-widget {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }

    .copyright-text {
        text-align: center;
    }
}

/* 社交媒体链接样式 */
.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

/* 社交链接包装器 - 用于包含二维码弹窗 */
.social-link-wrapper {
    position: relative;
}

/* 通用社交链接样式 */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* 创建社交链接的渐变背景效果 */
.social-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.65, 0.05, 0.36, 1);
}

/* 不同社交媒体的特定颜色 */
.wechat-link::before {
    background: linear-gradient(45deg, #09b83e, #06d048);
}

.qq-link::before {
    background: linear-gradient(45deg, #1da1f2, #0b78b8);
}

.weibo-link::before {
    background: linear-gradient(45deg, #e6162d, #ff9933);
}

.github-link::before {
    background: linear-gradient(45deg, #333333, #6e5494);
}

/* 悬停效果 */
.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link:hover::before {
    opacity: 0.9;
}

/* 二维码弹窗 */
.qr-popup {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%) scale(0.85);
    background-color: white;
    border-radius: 8px;
    padding: 3px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 100;
    width: 150px;
}

.qr-popup::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.qr-popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.qr-popup-content img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 4px;
}

.qr-popup-content p {
    margin: 8px 0 0;
    font-size: 12px;
    color: #333;
    text-align: center;
}

/* 显示二维码弹窗 */
.social-link-wrapper:hover .qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

/* 适配移动设备 */
@media (max-width: 767px) {
    .qr-popup {
        left: 0;
        transform: scale(0.85);
    }

    .social-link-wrapper:hover .qr-popup {
        transform: scale(1);
    }

    .qr-popup::after {
        left: 20px;
    }
}

/* 触摸设备上点击显示二维码 */
@media (hover: none) {
    .social-link-wrapper:hover .qr-popup {
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%) scale(0.85);
    }

    .social-link-wrapper.active .qr-popup {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) scale(1);
    }

    @media (max-width: 767px) {
        .social-link-wrapper.active .qr-popup {
            transform: scale(1);
        }
    }
}
.carousel-inner {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.carousel-item img {
    height: auto;
    object-fit: cover;
}
.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--border-radius-sm);
    padding: 15px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 80%;
    width: auto;
}
.carousel-indicators {
    bottom: -15px;
}
/* 轮播控制按钮颜色修改为黑色 */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
    background-size: 50%;
    width: 40px;
    height: 40px;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* 使指示器也变为黑色 */
.carousel-indicators [data-bs-target] {
    background-color: rgba(0, 0, 0, 0.6);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
}

.carousel-indicators .active {
    background-color: var(--primary-color);
}

/* 轮播图说明文字样式 */
.carousel-description {
    background-color: #f8f9fa;
    margin-top: -5px; /* 微调与轮播图的间距 */
}

.description-item {
    display: none;
    padding: 10px 20px;
}

.description-item.active {
    display: block;
}

.description-item h5 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.description-item p {
    margin-bottom: 0;
}


/* 时间线样式 */
/* 现代化时间线样式 */
.timeline-container.modern {
    position: relative;
    padding: 2rem 0;
}

.timeline-container.modern::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 80px;
    width: 4px;
    background: linear-gradient(to bottom, rgba(var(--bs-primary-rgb), 0.3), rgba(var(--bs-primary-rgb), 0.7));
    border-radius: 4px;
}

.timeline-item {
    position: relative;
    padding-left: 120px;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 77px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--bs-primary);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.3);
    z-index: 1;
    top: 15px;
}

.timeline-dot-future {
    background-color: #a3a3a3;
    box-shadow: 0 0 0 3px rgba(163, 163, 163, 0.3);
}

.timeline-date-wrapper {
    position: absolute;
    left: 0;
    width: 70px;
    text-align: right;
    top: 10px;
}

.timeline-date {
    font-weight: 600;
    font-size: 1rem;
    color: var(--bs-primary);
}

.timeline-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.timeline-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

.timeline-header h4 {
    margin: 0;
    font-weight: 600;
}

.timeline-body {
    padding: 1.5rem;
}

.version-badge {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

.version-badge.current {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.version-badge.future {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.timeline-future {
    border: 2px dashed #e9ecef;
    background-color: rgba(255, 255, 255, 0.8);
}

.timeline-badge {
    display: inline-block;
    background-color: rgba(var(--bs-info-rgb), 0.1);
    color: var(--bs-info);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

/* 版本界面展示轮播图 */
.version-showcase {
    margin-top: 1.5rem;
}

.version-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 0 1px;
}

/* 轮播导航按钮间距调整 */
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    gap: 50px;
}

.carousel-indicators {
    display: flex;
    gap: 8px;
    min-width: 80px; /* 为指示器组添加最小宽度 */
    justify-content: center; /* 确保指示器居中 */
}

.carousel-prev, .carousel-next {
    border: none;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    width: 36px; /* 稍微增大按钮尺寸 */
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 5px; /* 添加外边距 */
}


.carousel-prev:hover, .carousel-next:hover {
    background-color: var(--bs-primary);
    color: #fff;
}


.carousel-indicators .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators .indicator.active {
    background-color: var(--bs-primary);
    transform: scale(1.2);
}

/* 响应式调整 */
@media (max-width: 767.98px) {
    .timeline-container.modern::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-dot {
        left: 17px;
    }

    .timeline-date-wrapper {
        position: relative;
        left: 0;
        width: 100%;
        text-align: left;
        top: 0;
        margin-bottom: 0.5rem;
    }
}

/* 轮播图响应式调整 */
@media (max-width: 768px) {
    .carousel-item img {
        height: auto;
        width: 100%;
    }

    .carousel-caption {
        position: relative;
        background: white;
        color: var(--text-dark);
        left: 0;
        transform: none;
        max-width: 100%;
        width: 100%;
        bottom: 0;
        padding: 15px;
    }

    .carousel-caption h5 {
        color: var(--primary-color);
    }

    .carousel-caption p {
        color: var(--text-light);
    }
}
/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top:active {
    transform: translateY(0);
}

/* 为移动设备优化返回顶部按钮 */
@media (max-width: 768px) {
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }
}
