/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

body {
    color: #333;
    background-color: #f9fafb;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* 调整公告弹窗标题与内容间距 */
.announcement-header {
    margin-bottom: 8px;
    /* 减少底部间距 */
    padding-bottom: 8px;
    /* 减少内边距 */
}

/* 功能中心水平滚动样式 */
.ra-scroll-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 900px;
}

.ra-scroll-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
    padding: 10px 0;
}

.ra-card {
    flex: 0 0 calc(33.333% - 20px);
    background: linear-gradient(135deg, #f8faff 0%, #f0f7ff 100%);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e8f3ff;
    min-width: 280px;
}

body.dark-mode .ra-card {
    background: linear-gradient(135deg, #252a38 0%, #2d3343 100%);
    border-color: #3a3f52;
}

.ra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(22, 93, 255, 0.15);
}

.ra-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.ra-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #165DFF;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ra-nav-btn:hover {
    background: #0E4BD8;
    transform: scale(1.1);
}

.ra-nav-btn:disabled {
    background: #C9CDD4;
    cursor: not-allowed;
    transform: none;
}

body.dark-mode .ra-nav-btn:disabled {
    background: #4E5969;
}

.ra-indicators {
    display: flex;
    gap: 8px;
}

.ra-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #C9CDD4;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.dark-mode .ra-indicator {
    background: #4E5969;
}

.ra-indicator.active {
    background: #165DFF;
    transform: scale(1.2);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .ra-card {
        flex: 0 0 calc(50% - 15px);
        min-width: 250px;
    }

    .ra-nav {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .ra-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .ra-nav-btn {
        width: 36px;
        height: 36px;
    }
}

/* 功能中心水平滚动样式 */
.ra-scroll-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1000px;
    padding: 0 40px;
}

.ra-scroll-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 30px;
    padding: 20px 10px;
    scroll-behavior: smooth;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.ra-scroll-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.ra-card {
    flex: 0 0 300px;
    background: linear-gradient(135deg, #f8faff 0%, #f0f7ff 100%);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e8f3ff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.dark-mode .ra-card {
    background: linear-gradient(135deg, #252a38 0%, #2d3343 100%);
    border-color: #3a3f52;
}

.ra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(22, 93, 255, 0.15);
}

.ra-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.ra-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #165DFF;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(22, 93, 255, 0.3);
}

.ra-nav-btn:hover {
    background: #0E4BD8;
    transform: scale(1.1);
}

.ra-nav-btn:disabled {
    background: #C9CDD4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

body.dark-mode .ra-nav-btn:disabled {
    background: #4E5969;
}

.ra-indicators {
    display: flex;
    gap: 10px;
}

.ra-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #C9CDD4;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.dark-mode .ra-indicator {
    background: #4E5969;
}

.ra-indicator.active {
    background: #165DFF;
    transform: scale(1.2);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .ra-scroll-container {
        padding: 0 20px;
    }

    .ra-card {
        flex: 0 0 280px;
    }

    .ra-nav {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .ra-scroll-container {
        padding: 0 10px;
    }

    .ra-card {
        flex: 0 0 260px;
        padding: 30px 20px;
    }

    .ra-nav-btn {
        width: 44px;
        height: 44px;
    }
}

/* 功能中心水平轮播图样式 */
.resource-activity {
    padding: 80px 0;
    background-color: #fff;
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

body.dark-mode .resource-activity {
    background-color: #1a1d28;
}

.ra-scroll-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
}

.ra-scroll-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 30px;
    padding: 30px 10px;
    /* 确保水平排列 */
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
}

.ra-card {
    flex: 0 0 320px; /* 固定宽度，确保水平排列 */
    min-width: 320px;
    background: linear-gradient(135deg, #f8faff 0%, #f0f7ff 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #e8f3ff;
    box-shadow: 0 8px 30px rgba(22, 93, 255, 0.08);
    position: relative;
    overflow: hidden;
}

body.dark-mode .ra-card {
    background: linear-gradient(135deg, #252a38 0%, #2d3343 100%);
    border-color: #3a3f52;
}

/* 移除之前的垂直布局样式 */
.ra-grid {
    display: none; /* 隐藏原来的网格布局 */
}

/* 轮播导航控制 - 水平布局 */
.ra-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.ra-nav-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #165DFF;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(22, 93, 255, 0.3);
    position: relative;
    z-index: 10;
}

.ra-nav-btn:hover {
    background: #0E4BD8;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(22, 93, 255, 0.4);
}

.ra-nav-btn:disabled {
    background: #C9CDD4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.5;
}

body.dark-mode .ra-nav-btn:disabled {
    background: #4E5969;
}

/* 轮播指示器 - 水平排列 */
.ra-indicators {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ra-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #C9CDD4;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

body.dark-mode .ra-indicator {
    background: #4E5969;
}

.ra-indicator.active {
    background: #165DFF;
    transform: scale(1.3);
    border-color: rgba(22, 93, 255, 0.3);
}

.ra-indicator:hover {
    transform: scale(1.2);
}

/* 当前幻灯片计数 */
.ra-counter {
    font-size: 16px;
    color: #86909C;
    font-weight: 500;
    margin: 0 20px;
    min-width: 80px;
    text-align: center;
}

body.dark-mode .ra-counter {
    color: #a0a4ab;
}

/* 自动播放控制 */
.ra-autoplay {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    justify-content: center;
}

.ra-autoplay-btn {
    background: none;
    border: none;
    color: #165DFF;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(22, 93, 255, 0.1);
}

.ra-autoplay-btn:hover {
    color: #0E4BD8;
    background: rgba(22, 93, 255, 0.15);
    transform: translateY(-2px);
}

/* 卡片悬停效果 */
.ra-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(22, 93, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

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

.ra-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(22, 93, 255, 0.15);
}

.ra-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #165DFF, #0E4BD8);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.ra-card:hover .ra-icon {
    transform: scale(1.1) rotate(5deg);
}

.ra-icon i {
    font-size: 36px;
    color: #fff;
}

.ra-title {
    font-size: 22px;
    font-weight: 600;
    color: #1D2129;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

body.dark-mode .ra-title {
    color: #e4e6eb;
}

.ra-desc {
    font-size: 14px;
    color: #4E5969;
    margin-bottom: 25px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

body.dark-mode .ra-desc {
    color: #a0a4ab;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .ra-scroll-container {
        padding: 0 60px;
    }
    
    .ra-card {
        flex: 0 0 300px;
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .ra-scroll-container {
        padding: 0 40px;
    }
    
    .ra-card {
        flex: 0 0 280px;
        min-width: 280px;
        padding: 30px 20px;
    }
    
    .ra-nav {
        gap: 20px;
    }
    
    .ra-nav-btn {
        width: 50px;
        height: 50px;
    }
    
    .ra-counter {
        font-size: 14px;
        margin: 0 15px;
    }
}

@media (max-width: 480px) {
    .ra-scroll-container {
        padding: 0 20px;
    }
    
    .ra-card {
        flex: 0 0 260px;
        min-width: 260px;
        padding: 25px 15px;
    }
    
    .ra-nav {
        gap: 15px;
    }
    
    .ra-nav-btn {
        width: 44px;
        height: 44px;
    }
    
    .ra-indicator {
        width: 12px;
        height: 12px;
    }
    
    .ra-title {
        font-size: 20px;
    }
    
    .ra-icon {
        width: 70px;
        height: 70px;
    }
    
    .ra-icon i {
        font-size: 32px;
    }
}

/* 触摸设备优化 */
.ra-scroll-wrapper {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.ra-scroll-wrapper:active {
    cursor: grabbing;
}

/* 加载动画 */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ra-card {
    animation: slideInFromRight 0.6s ease-out;
}

/* 为不同的卡片延迟动画 */
.ra-card:nth-child(1) { animation-delay: 0.1s; }
.ra-card:nth-child(2) { animation-delay: 0.2s; }
.ra-card:nth-child(3) { animation-delay: 0.3s; }
.ra-card:nth-child(4) { animation-delay: 0.4s; }
.ra-card:nth-child(5) { animation-delay: 0.5s; }

/* 活动卡片特殊样式 */
.activity-card {
    background: linear-gradient(135deg, #fff8f8 0%, #fff0f0 100%);
    border-color: #ffe8e8;
}

body.dark-mode .activity-card {
    background: linear-gradient(135deg, #382525 0%, #332d2d 100%);
    border-color: #523a3a;
}

.resource-card {
    background: linear-gradient(135deg, #f8fff8 0%, #f0fff0 100%);
    border-color: #e8ffe8;
}

body.dark-mode .resource-card {
    background: linear-gradient(135deg, #253825 0%, #2d332d 100%);
    border-color: #3a523a;
}

/* 轮播进度条 */
.ra-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(22, 93, 255, 0.1);
}

/* 咨询中心样式 */
.consultation-card {
    background: linear-gradient(135deg, #fff8f0 0%, #fff0e8 100%);
    border-color: #ffe8d6;
}

body.dark-mode .consultation-card {
    background: linear-gradient(135deg, #382e25 0%, #332d28 100%);
    border-color: #523d3a;
}

/* 咨询中心弹窗样式 */
.consultation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.consultation-modal.show {
    display: flex;
}

.consultation-content {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

body.dark-mode .consultation-content {
    background: #252a38;
    color: #e4e6eb;
    border: 1px solid #3a3f52;
}

.consultation-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

body.dark-mode .consultation-header {
    border-color: #3a3f52;
}

.consultation-icon {
    color: #165DFF;
    font-size: 28px;
}

.consultation-title {
    font-size: 24px;
    font-weight: 600;
    flex: 1;
    color: #1D2129;
}

body.dark-mode .consultation-title {
    color: #e4e6eb;
}

.consultation-close {
    background: none;
    border: none;
    color: #86909C;
    cursor: pointer;
    font-size: 24px;
    padding: 5px;
    transition: color 0.3s ease;
}

.consultation-close:hover {
    color: #165DFF;
}

/* 标签页样式 */
.consultation-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

body.dark-mode .consultation-tabs {
    border-color: #3a3f52;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: #f5f5f5;
    color: #666;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

body.dark-mode .tab-btn {
    background: #3a3f52;
    color: #a0a4ab;
}

.tab-btn.active {
    background: #165DFF;
    color: white;
}

.tab-btn:hover:not(.active) {
    background: #e8f3ff;
    color: #165DFF;
}

body.dark-mode .tab-btn:hover:not(.active) {
    background: #2d3343;
    color: #165DFF;
}

/* 轮播图样式 */
.consultation-carousel {
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f9fafb;
    min-height: 300px;
}

body.dark-mode .carousel-container {
    background: #2d3343;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.carousel-item {
    flex: 0 0 100%;
    padding: 30px;
    display: none;
}

.carousel-item.active {
    display: block;
}

.carousel-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1D2129;
}

body.dark-mode .carousel-item h4 {
    color: #e4e6eb;
}

.carousel-item p {
    color: #4E5969;
    line-height: 1.6;
    margin-bottom: 15px;
}

body.dark-mode .carousel-item p {
    color: #a0a4ab;
}

.carousel-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #86909C;
}

.carousel-item .post-content {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
}

.carousel-item .post-content::-webkit-scrollbar {
    width: 4px;
}

.carousel-item .post-content::-webkit-scrollbar-thumb {
    background: #165DFF;
    border-radius: 2px;
}

/* 轮播控制按钮 */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #165DFF;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover:not(:disabled) {
    background: #0E4BD8;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    background: #C9CDD4;
    cursor: not-allowed;
}

body.dark-mode .carousel-btn:disabled {
    background: #4E5969;
}

.carousel-indicators {
    display: flex;
    gap: 8px;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #C9CDD4;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.dark-mode .carousel-indicator {
    background: #4E5969;
}

.carousel-indicator.active {
    background: #165DFF;
    transform: scale(1.2);
}

.ra-progress-bar {
    height: 100%;
    background: #165DFF;
    width: 0%;
    transition: width 4s linear;
}

.ra-autoplay.active .ra-progress-bar {
    width: 100%;
}

/* 调整公告弹窗标题与内容间距 */
.announcement-header {
    margin-bottom: 8px !important;
    /* 减少底部外边距 */
    padding-bottom: 8px !important;
    /* 减少底部内边距 */
}

.announcement-body {
    margin-top: 0 !important;
    /* 移除顶部外边距 */
    padding-top: 0 !important;
    /* 移除顶部内边距 */
}

/* 如果还有间距问题，可以进一步调整公告内容区域 */
.announcement-content-text {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.announcement-body {
    margin-top: 0;
    /* 确保顶部没有额外间距 */
}

/* 如果需要进一步调整，可以针对公告内容区域 */
.announcement-content-text {
    margin-top: 0;
    padding-top: 0;
}

body.dark-mode {
    background-color: #1a1d28;
    color: #e4e6eb;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

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

/* 主题切换按钮 */
.theme-toggle {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #165DFF;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 998;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 导航菜单样式 */
.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0 auto;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
    color: #4E5969;
    white-space: nowrap;
}

body.dark-mode .nav-link {
    color: #a0a4ab;
}

.nav-link:hover {
    color: #165DFF;
    background-color: rgba(22, 93, 255, 0.05);
}

.nav-link.active {
    color: #165DFF;
    font-weight: 600;
    background-color: rgba(22, 93, 255, 0.1);
}

.dropdown-arrow {
    font-size: 18px;
    transition: transform 0.2s ease;
}

/* 下拉菜单样式 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

body.dark-mode .dropdown-menu {
    background: #252a38;
    border-color: #3a3f52;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

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

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    color: #4E5969;
    font-size: 14px;
}

body.dark-mode .dropdown-item {
    color: #a0a4ab;
}

.dropdown-item:hover {
    background-color: rgba(22, 93, 255, 0.1);
    color: #165DFF;
}

.dropdown-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 8px 0;
}

body.dark-mode .dropdown-divider {
    background-color: #3a3f52;
}

/* 徽章样式 */
.badge {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    background: #165DFF;
    color: white;
    margin-left: auto;
}

.badge-disabled {
    background: #86909C;
}

/* 响应式适配：平板（768px以下） */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #e5e7eb;
        gap: 0;
    }

    body.dark-mode .nav-menu {
        background: #252a38;
        border-color: #3a3f52;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 12px 16px;
        border-radius: 6px;
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(22, 93, 255, 0.05);
        margin: 8px 0;
        display: none;
    }

    body.dark-mode .dropdown-menu {
        background: rgba(255, 255, 255, 0.05);
    }

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

    .dropdown-item {
        padding: 10px 20px;
    }
}

/* 响应式适配：手机（480px以下） */
@media (max-width: 480px) {
    .nav-buttons {
        display: none;
    }

    .nav-menu {
        top: 60px;
    }
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #165DFF;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 顶部导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 999;
    padding: 15px 0;
    transition: all 0.3s ease;
}

body.dark-mode .navbar {
    background-color: rgba(26, 29, 40, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo样式 */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: #165DFF;
}

.logo-icon {
    font-size: 32px;
    color: #165DFF;
}

/* 导航按钮组（登录/注册/控制台） */
.nav-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-outline {
    border: 1px solid #165DFF;
    color: #165DFF;
    background-color: transparent;
}

/* 运行时间样式 */
.runtime-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
    font-size: 14px;
    color: #86909C;
}

.runtime-info i {
    font-size: 16px;
}

body.dark-mode .runtime-info {
    color: #a0a4ab;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .runtime-info {
        font-size: 13px;
        flex-direction: column;
        gap: 4px;
    }
}

.btn-outline:hover {
    background-color: rgba(22, 93, 255, 0.05);
}

.btn-primary {
    background-color: #165DFF;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0E4BD8;
}

/* 移动端菜单按钮（默认隐藏） */
.menu-btn {
    display: none;
    font-size: 24px;
    color: #333;
    background: transparent;
}

body.dark-mode .menu-btn {
    color: #e4e6eb;
}

/* 英雄区（Banner）样式 */
.hero {
    margin-top: 80px;
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(240, 247, 255, 0.9) 0%, rgba(230, 240, 255, 0.9) 100%),
        url('/static/images/bj.jpeg') center/cover no-repeat;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

body.dark-mode .hero {
    background: linear-gradient(135deg, rgba(26, 29, 40, 0.9) 0%, rgba(40, 44, 60, 0.9) 100%),
        url('/static/images/bj2.jpeg') center/cover no-repeat;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #1D2129;
    margin-bottom: 20px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

body.dark-mode .hero-title {
    color: #e4e6eb;
}

.hero-desc {
    font-size: 18px;
    color: #4E5969;
    max-width: 700px;
    margin: 0 auto 30px;
    transition: color 0.3s ease;
}

body.dark-mode .hero-desc {
    color: #a0a4ab;
}

.hero-cta {
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
}

/* 技术架构区样式 */
.tech-architecture {
    padding: 80px 0;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

body.dark-mode .tech-architecture {
    background-color: #1a1d28;
}

.tech-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-info h3 {
    font-size: 28px;
    font-weight: 600;
    color: #1D2129;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

body.dark-mode .tech-info h3 {
    color: #e4e6eb;
}

.tech-info p {
    font-size: 16px;
    color: #4E5969;
    line-height: 1.7;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

body.dark-mode .tech-info p {
    color: #a0a4ab;
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tech-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

body.dark-mode .tech-feature {
    background: #252a38;
}

.tech-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(22, 93, 255, 0.1);
}

.tech-feature i {
    color: #165DFF;
    font-size: 20px;
}

.tech-feature span {
    font-size: 14px;
    font-weight: 500;
    color: #1D2129;
    transition: color 0.3s ease;
}

body.dark-mode .tech-feature span {
    color: #e4e6eb;
}

.tech-logo {
    display: flex;
    justify-content: center;
}

.framework-logo {
    background: linear-gradient(135deg, #165DFF, #0E4BD8);
    color: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(22, 93, 255, 0.2);
}

.framework-logo i {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

.framework-logo span {
    font-size: 18px;
    font-weight: 600;
}

/* 核心功能区样式 */
.features {
    padding: 80px 0;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

body.dark-mode .features {
    background-color: #1a1d28;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1D2129;
    margin-bottom: 60px;
    position: relative;
    transition: color 0.3s ease;
}

body.dark-mode .section-title {
    color: #e4e6eb;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: #165DFF;
    margin: 12px auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background-color: #f9fafb;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

body.dark-mode .feature-card {
    background-color: #252a38;
    border-color: #3a3f52;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 36px;
    color: #165DFF;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #1D2129;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

body.dark-mode .feature-title {
    color: #e4e6eb;
}

.feature-desc {
    font-size: 14px;
    color: #4E5969;
    line-height: 1.7;
    transition: color 0.3s ease;
}

body.dark-mode .feature-desc {
    color: #a0a4ab;
}

/* 应用管理区样式 */
.apps {
    padding: 80px 0;
    background-color: #f9fafb;
    transition: background-color 0.3s ease;
}

body.dark-mode .apps {
    background-color: #1a1d28;
}

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

.app-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

body.dark-mode .app-card {
    background-color: #252a38;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.app-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 12px;
    background-color: #e8f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .app-icon {
    background-color: #2d3343;
}

.app-icon i {
    font-size: 32px;
    color: #165DFF;
}

.app-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

body.dark-mode .app-name {
    color: #e4e6eb;
}

.app-desc {
    font-size: 13px;
    color: #4E5969;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

body.dark-mode .app-desc {
    color: #a0a4ab;
}

.app-action {
    font-size: 14px;
    color: #165DFF;
    font-weight: 500;
}

/* 资源中心与活动中心入口样式 */
.resource-activity {
    padding: 80px 0;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

body.dark-mode .resource-activity {
    background-color: #1a1d28;
}

.ra-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.ra-card {
    background: linear-gradient(135deg, #f8faff 0%, #f0f7ff 100%);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e8f3ff;
}

body.dark-mode .ra-card {
    background: linear-gradient(135deg, #252a38 0%, #2d3343 100%);
    border-color: #3a3f52;
}

.ra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(22, 93, 255, 0.15);
}

.ra-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #165DFF, #0E4BD8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ra-icon i {
    font-size: 36px;
    color: #fff;
}

.ra-title {
    font-size: 24px;
    font-weight: 600;
    color: #1D2129;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

body.dark-mode .ra-title {
    color: #e4e6eb;
}

.ra-desc {
    font-size: 14px;
    color: #4E5969;
    margin-bottom: 24px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

body.dark-mode .ra-desc {
    color: #a0a4ab;
}

/* 社区动态区样式 */
.community {
    padding: 80px 0;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

body.dark-mode .community {
    background-color: #1a1d28;
}

.community-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.forum-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-item {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s ease;
}

body.dark-mode .post-item {
    background-color: #252a38;
}

.post-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.post-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.post-author {
    font-weight: 500;
}

.post-date {
    font-size: 12px;
    color: #86909C;
}

.post-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

body.dark-mode .post-title {
    color: #e4e6eb;
}

.post-excerpt {
    font-size: 14px;
    color: #4E5969;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

body.dark-mode .post-excerpt {
    color: #a0a4ab;
}

.post-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #86909C;
}

.community-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-section {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 20px;
}

body.dark-mode .sidebar-section {
    background-color: #252a38;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    transition: color 0.3s ease, border-color 0.3s ease;
}

body.dark-mode .sidebar-title {
    color: #e4e6eb;
    border-color: #3a3f52;
}

.event-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.event-date {
    width: 50px;
    height: 50px;
    background-color: #165DFF;
    color: white;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.event-info {
    flex: 1;
}

.event-title {
    font-weight: 500;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

body.dark-mode .event-title {
    color: #e4e6eb;
}

.event-desc {
    font-size: 12px;
    color: #86909C;
}

/* 文档与托管服务区 */
.docs-hosting {
    padding: 80px 0;
    background-color: #f9fafb;
    transition: background-color 0.3s ease;
}

body.dark-mode .docs-hosting {
    background-color: #1a1d28;
}

.docs-hosting-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

body.dark-mode .service-card {
    background-color: #252a38;
}

.service-icon {
    font-size: 48px;
    color: #165DFF;
    margin-bottom: 20px;
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

body.dark-mode .service-title {
    color: #e4e6eb;
}

.service-features {
    margin-bottom: 24px;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    transition: color 0.3s ease;
}

body.dark-mode .service-feature {
    color: #a0a4ab;
}

.service-feature i {
    color: #165DFF;
}

/* 价格方案区样式 */
.pricing {
    padding: 80px 0;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

body.dark-mode .pricing {
    background-color: #1a1d28;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background-color: #f9fafb;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

body.dark-mode .pricing-card {
    background-color: #252a38;
    border-color: #3a3f52;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    background-color: #165DFF;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(22, 93, 255, 0.2);
}

.pricing-card.popular .pricing-feature {
    color: rgba(255, 255, 255, 0.8);
}

/* 修复popular卡片按钮样式 */
.pricing-card.popular .btn {
    background-color: #fff !important;
    color: #165DFF !important;
    border: 1px solid #fff !important;
}

.pricing-card.popular .btn:hover {
    background-color: #f8f9fa !important;
    color: #165DFF !important;
    border-color: #f8f9fa !important;
}

.pricing-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.pricing-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
    color: #4E5969;
}

.pricing-card.popular .pricing-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-price {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.pricing-features {
    margin: 20px 0 30px;
    text-align: left;
}

.pricing-feature {
    font-size: 14px;
    padding: 8px 0;
    color: #4E5969;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.dark-mode .pricing-feature {
    color: #a0a4ab;
}

.pricing-feature i {
    color: #165DFF;
}

.pricing-card.popular .pricing-feature i {
    color: #fff;
}

/* 常见问题区样式 */
.faq {
    padding: 80px 0;
    background-color: #f9fafb;
    transition: background-color 0.3s ease;
}

body.dark-mode .faq {
    background-color: #1a1d28;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

body.dark-mode .faq-item {
    background-color: #252a38;
}

.faq-question {
    width: 100%;
    padding: 16px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

body.dark-mode .faq-question {
    color: #e4e6eb;
}

.faq-answer {
    padding: 0 20px 16px;
    font-size: 14px;
    color: #4E5969;
    display: none;
    transition: color 0.3s ease;
}

body.dark-mode .faq-answer {
    color: #a0a4ab;
}

.faq-answer.show {
    display: block;
}

/* 合作伙伴区样式 */
.partners {
    background-color: #f9fafb;
    padding: 60px 0;
    transition: background-color 0.3s ease;
}

body.dark-mode .partners {
    background-color: #1a1d28;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    transition: .3s;
    cursor: pointer;
    color: #333
}

body.dark-mode .partner-card {
    background: #252a38;
    border-color: #3a3f52;
    color: #e4e6eb;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08)
}

.partner-card img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: contain;
    margin-bottom: 12px
}

.partner-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px
}

.partner-desc {
    font-size: 13px;
    color: #86909c
}

/* 底部版权区样式 */
.footer {
    padding: 40px 0;
    background-color: #1D2129;
    color: #C9CDD4;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.footer-links a {
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #165DFF;
}

.copyright {
    font-size: 12px;
}

/* 响应式适配：平板（768px以下） */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 16px;
    }

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

    .tech-features {
        grid-template-columns: 1fr;
    }

    .framework-logo {
        padding: 20px;
    }

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

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

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

    .docs-hosting-grid {
        grid-template-columns: 1fr;
    }

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

    .pricing-card.popular {
        transform: none;
    }

    .ra-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ra-card {
        padding: 30px 20px;
    }
}

/* 响应式适配：手机（480px以下） */
@media (max-width: 480px) {
    .menu-btn {
        display: block;
    }

    .nav-buttons {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        flex-direction: column;
        background-color: #fff;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    body.dark-mode .nav-buttons {
        background-color: #252a38;
    }

    .nav-buttons.show {
        display: flex;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 26px;
    }

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

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

    .section-title {
        font-size: 28px;
    }
}

/* 公告弹窗样式 */
/* 公告弹窗样式 */
.announcement-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.announcement-modal.show {
    display: flex;
}

.announcement-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

body.dark-mode .announcement-content {
    background: #252a38;
    color: #e4e6eb;
    border: 1px solid #3a3f52;
}

.announcement-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

body.dark-mode .announcement-header {
    border-color: #3a3f52;
}

.announcement-icon {
    color: #165DFF;
    font-size: 24px;
}

.announcement-title {
    font-size: 20px;
    font-weight: 600;
    flex: 1;
    color: #1D2129;
}

body.dark-mode .announcement-title {
    color: #e4e6eb;
}

.announcement-close {
    background: none;
    border: none;
    color: #86909C;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
}

body.dark-mode .announcement-close {
    color: #a0a4ab;
}

.announcement-body {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #4E5969;
}

body.dark-mode .announcement-body {
    color: #a0a4ab;
}

.announcement-body small {
    color: #86909C;
}

body.dark-mode .announcement-body small {
    color: #86909C;
}

.announcement-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcement-time {
    font-size: 12px;
    color: #86909C;
}

/* 移动端用户入口 */
.mobile-user-section {
    display: none;
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
    margin-top: 16px;
}

body.dark-mode .mobile-user-section {
    border-color: #3a3f52;
}

@media (max-width: 768px) {
    .nav-buttons {
        display: none !important;
    }

    .mobile-user-section {
        display: block;
    }

    .mobile-user-section .nav-link {
        justify-content: flex-start;
        gap: 12px;
        padding: 12px 16px;
    }
}

body.dark-mode .announcement-time {
    color: #86909C;
}

.announcement-actions {
    display: flex;
    gap: 10px;
}

.btn-dont-show {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

body.dark-mode .btn-dont-show {
    background: #3a3f52;
    color: #a0a4ab;
    border-color: #4e5468;
}

.btn-dont-show:hover {
    background: #e5e5e5;
}

body.dark-mode .btn-dont-show:hover {
    background: #4e5468;
}

.btn-dont-show {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}


body.dark-mode .btn-dont-show {
    background: #3a3f52;
    color: #a0a4ab;
    border-color: #4e5468;
}

/* 导航徽章样式 */
.nav-badge {
    background: #FF4D4F;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    margin-left: 4px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

/* 增强卡片悬停效果 */
.feature-card,
.app-card,
.pricing-card,
.service-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.feature-card:hover,
.app-card:hover,
.pricing-card:hover,
.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(22, 93, 255, 0.15);
}

/* 添加悬停光效 */
.feature-card::before,
.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(22, 93, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before,
.app-card:hover::before {
    left: 100%;
}

/* 按钮点击涟漪效果 */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.btn:active::after {
    width: 100px;
    height: 100px;
}

/* 按钮悬停滑动效果 */
.btn-primary {
    background: linear-gradient(135deg, #165DFF 0%, #0E4BD8 100%);
    background-size: 200% 100%;
    transition: all 0.4s ease;
}

.btn-primary:hover {
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 93, 255, 0.3);
}

/* 视差滚动效果 */
.hero {
    transform: translateZ(0);
    transition: transform 0.3s ease-out;
}

.tech-architecture,
.features,
.apps {
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

/* 滚动浮现动画 */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 延迟动画 */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* 图标悬停动画 */
.feature-icon,
.service-icon,
.app-icon i {
    transition: all 0.4s ease;
    display: inline-block;
}

.feature-card:hover .feature-icon,
.service-card:hover .service-icon,
.app-card:hover .app-icon i {
    transform: scale(1.2) rotate(5deg);
    color: #0E4BD8;
}

/* 加载动画图标 */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* 脉冲动画 */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(22, 93, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(22, 93, 255, 0.6);
    }
}

.pricing-card.popular {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* 打字机效果 */
.typing-text {
    overflow: hidden;
    border-right: 2px solid #165DFF;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #165DFF
    }
}

/* 渐变文字效果 */
.gradient-text {
    background: linear-gradient(135deg, #165DFF 0%, #0E4BD8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 页面切换过渡 */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
    animation: pageEnter 0.6s ease-out forwards;
}

@keyframes pageEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 分区进入动画 */
.section-enter {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-enter.active {
    opacity: 1;
    transform: translateY(0);
}

/* 确保三个卡片水平排列 */
.ra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 确保卡片宽度自适应 */
.ra-card {
    flex: 1;
    min-width: 0; /* 防止内容溢出 */
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .ra-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .ra-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}