/* ============================================
   青云官网 - 高级视觉设计
   品牌色: 红 #e80115 | 蓝 #0059e5 | 黑 #000000 | 白 #ffffff
   ============================================ */

/* === 全局重置 === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'AlibabaHealthFont2.0CN-85B', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    color: #000000;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'AlibabaHealthFont2.0CN-85B';
    src: url('../AlibabaHealthFont2.0CN-85B.ttf') format('truetype');
    font-weight: 850;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ChillDuanSans';
    src: url('../ChillDuanSans_ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* === 顶部导航栏 === */
.site-header {
    background: rgba(232, 1, 21, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 54px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo .qingyun-logo {
    height: 28px;
}

.main-nav {
    display: flex;
    gap: 8px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 850;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.main-nav a.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 900;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 60%;
}

/* === 青云账号入口 === */
.account-entry {
    margin-left: auto; /* 推到最右边 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.account-entry:hover {
    transform: scale(1.1);
}

.account-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.account-entry:hover .account-avatar {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.account-text {
    color: #e80115;
    font-size: 18px;
    font-weight: 850;
    line-height: 1;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* === 左侧导航栏 - 动态居中优化版 === */
.side-nav {
    position: fixed;
    left: 30px;
    top: 50%;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item {
    position: relative;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 8px;
    border-radius: 8px;
    opacity: 0.4;
    transform: scale(0.9);
}

.nav-text {
    display: block;
    color: #000000;
    font-size: 15px;
    font-weight: 850;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.nav-item.active {
    opacity: 1;
    transform: scale(1.2);
}

.nav-item.active .nav-text {
    color: #e80115;
    font-size: 22px;
    text-shadow: 0 2px 10px rgba(232, 1, 21, 0.4);
}

.nav-item::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #e80115, #0059e5);
    border-radius: 2px;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item.active::before {
    height: 100%;
}

.nav-item:hover {
    opacity: 0.7;
    transform: scale(1.05);
}

/* === 主内容区 - 支持平滑滚动 === */
.main-content {
    margin-left: 0;
    height: 100vh;
    overflow-y: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-top: 78px;
    padding-bottom: 60px;
    transition: padding-bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 优化过渡时间和缓动函数 */
}

.page-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: block;
    opacity: 1;
}

/* === 页面分界线 === */
.page-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(232, 1, 21, 0.3), rgba(0, 89, 229, 0.3), transparent);
    pointer-events: none;
}

.page-section:last-child::after {
    display: none;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* === 产业链页面特殊样式 === */
.chain-page {
    justify-content: center;
    padding-top: 60px;
}

.chain-page .mind-map {
    margin-top: 0;
    min-height: 650px;
    width: 100%;
}

.chain-page .section-title {
    margin-bottom: 40px;
}

/* === 页面标题 === */
.section-title {
    font-size: 48px;
    font-weight: 850;
    color: #e80115;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
}

/* === 部门页面样式 - 紧缩布局 === */
.department-page {
    justify-content: center;
    padding-top: 80px;
}

.dept-title {
    font-size: 48px;
    font-weight: 850;
    color: #e80115;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 3px;
    text-shadow: 0 4px 12px rgba(232, 1, 21, 0.2);
}

.dept-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    text-align: center;
}

/* === 数据统计区域 - 删除白色背景 === */
.dept-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px 30px;
    background: transparent; /* 删除白色背景 */
    border-radius: 16px;
    box-shadow: none; /* 删除阴影 */
    border: none; /* 删除边框 */
    transition: all 0.4s ease;
    min-width: 140px;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 48px;
    font-weight: 850;
    color: #e80115;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #e80115, #0059e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 15px;
    color: #666;
    font-weight: 600;
}

/* === 平台链接区域 - 缩小图标 === */
.dept-platforms {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.platforms-title {
    font-size: 24px;
    color: #000000;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 850;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
    justify-items: center;
}

/* 方形产品链接卡片 - 缩小尺寸 */
.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
    border-radius: 16px;
    text-decoration: none;
    color: #000000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 140px;
    width: 100%;
    max-width: 220px;
}

.platform-card.square {
    aspect-ratio: 1 / 1;
    border-radius: 18px;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e80115, #0059e5);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.platform-card:hover::before {
    transform: scaleX(1);
}

.platform-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 28px rgba(232, 1, 21, 0.18);
    border-color: rgba(232, 1, 21, 0.3);
}

.platform-name {
    font-size: 18px;
    font-weight: 850;
    margin-bottom: 6px;
    color: #e80115;
    text-align: center;
}

.platform-desc {
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* === 思维导图区域 === */
.mind-map {
    position: relative;
    width: 100%;
    min-height: 600px;
    margin-top: 40px;
}

.connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connections line {
    stroke: url(#lineGradient);
    stroke-width: 2.5;
    stroke-linecap: round;
    opacity: 0.6;
    filter: drop-shadow(0 2px 4px rgba(0, 89, 229, 0.3));
}

.center-logo {
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    animation: centerFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(232, 1, 21, 0.3));
    background: rgba(255, 255, 255, 0.95);
    border-radius: 45px;
    padding: 15px;
}

.center-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes centerFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-15px); }
}

.node {
    position: absolute;
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, rgba(232, 1, 21, 0.9) 0%, rgba(200, 0, 18, 0.95) 100%);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(232, 1, 21, 0.35);
    cursor: pointer;
    z-index: 5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    will-change: transform;
}

.node-icon {
    font-size: 28px;
    margin-bottom: 6px;
}

.node-label {
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.5px;
}

.node-core {
    background: linear-gradient(135deg, rgba(232, 1, 21, 0.95) 0%, rgba(180, 0, 15, 1) 100%);
    box-shadow: 0 10px 30px rgba(232, 1, 21, 0.4);
}

.node-extended {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, rgba(0, 89, 229, 0.85) 0%, rgba(0, 70, 180, 0.9) 100%);
    box-shadow: 0 6px 20px rgba(0, 89, 229, 0.35);
}

.node-extended .node-icon {
    font-size: 24px;
}

.node-extended .node-label {
    font-size: 11px;
}

.node:hover {
    transform: scale(1.12) translateY(-5px);
    box-shadow: 0 15px 40px rgba(232, 1, 21, 0.5);
    z-index: 20;
}

.node-extended:hover {
    box-shadow: 0 12px 35px rgba(0, 89, 229, 0.5);
}

.node:hover .node-icon {
    transform: scale(1.2) rotate(5deg);
}

/* === 节点游动动画 - 随机方向 === */
@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(8px, -6px) rotate(4deg); }
    50% { transform: translate(-4px, -10px) rotate(-2deg); }
    75% { transform: translate(-8px, -4px) rotate(3deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-6px, 8px) rotate(-3deg); }
    50% { transform: translate(5px, 12px) rotate(2deg); }
    75% { transform: translate(7px, 6px) rotate(-4deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, 5px) rotate(5deg); }
    50% { transform: translate(-6px, 8px) rotate(-3deg); }
    75% { transform: translate(-9px, 3px) rotate(4deg); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-7px, -9px) rotate(-5deg); }
    50% { transform: translate(8px, -5px) rotate(3deg); }
    75% { transform: translate(6px, -11px) rotate(-2deg); }
}

@keyframes float5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(5px, 10px) rotate(2deg); }
    50% { transform: translate(-10px, 6px) rotate(-4deg); }
    75% { transform: translate(-5px, 9px) rotate(5deg); }
}

.node-1 { animation: float1 8s ease-in-out infinite; animation-delay: 0s; }
.node-2 { animation: float2 9s ease-in-out infinite; animation-delay: 0.7s; }
.node-3 { animation: float3 7.5s ease-in-out infinite; animation-delay: 1.4s; }
.node-4 { animation: float4 8.5s ease-in-out infinite; animation-delay: 2.1s; }
.node-5 { animation: float5 9.5s ease-in-out infinite; animation-delay: 2.8s; }
.node-6 { animation: float2 8s ease-in-out infinite; animation-delay: 3.5s; }
.node-7 { animation: float4 7s ease-in-out infinite; animation-delay: 4.2s; }
.node-8 { animation: float1 9s ease-in-out infinite; animation-delay: 4.9s; }
.node-9 { animation: float3 8.5s ease-in-out infinite; animation-delay: 5.6s; }
.node-10 { animation: float5 7.5s ease-in-out infinite; animation-delay: 6.3s; }
.node-11 { animation: float2 9.5s ease-in-out infinite; animation-delay: 7.0s; }
.node-12 { animation: float4 8s ease-in-out infinite; animation-delay: 7.7s; }
.node-13 { animation: float1 7s ease-in-out infinite; animation-delay: 8.4s; }

.node:hover {
    animation-play-state: paused;
}

/* === 节点位置布局 - 对称优化 === */
/* 右侧垂直排列 - 放大并往中间移动 */
.node-6 { top: 20%; right: 15%; } /* 青云账号 */
.node-7 { top: 40%; right: 15%; } /* 青云组织 */
.node-8 { top: 60%; left: 10%; } /* 青云论坛左移 */

/* 左侧内层半扇形 - 完美对称分布 */
.node-1 { top: 8%; left: 35%; } /* 青云视听 - 顶部 */
.node-2 { top: 30%; left: 20%; } /* 青云志愿 - 左上 */
.node-3 { top: 50%; left: 28%; } /* 青云档案 - 中心 */
.node-4 { top: 70%; left: 35%; } /* 青云科技 - 右下 */
.node-5 { top: 88%; left: 45%; } /* 青云教育 - 底部 */

/* 左侧外层区域 */
.node-10 { top: 12%; left: 5%; } /* 青云云盘 */
.node-9 { top: 32%; left: 5%; } /* 青云通讯 */
.node-11 { top: 52%; left: 12%; } /* 软件方案 */
.node-12 { top: 72%; left: 22%; } /* 未来战队 */
.node-13 { top: 92%; left: 35%; } /* 教师网 - 再往下移 */

/* === 动画效果 === */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

.slide-up:nth-child(1) { animation-delay: 0.1s; }
.slide-up:nth-child(2) { animation-delay: 0.2s; }
.slide-up:nth-child(3) { animation-delay: 0.3s; }
.slide-up:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === 响应式设计 - 平板端 (1200px以下) === */
@media (max-width: 1200px) {
    .side-nav {
        left: 20px;
    }
    
    .center-logo { 
        width: 180px; 
        height: 180px; 
    }
    
    .node { 
        width: 110px; 
        height: 110px; 
    }
    
    .node-extended { 
        width: 95px; 
        height: 95px; 
    }
    
    .dept-title { 
        font-size: 48px; 
    }
    
    .stat-number { 
        font-size: 48px; 
    }
    
    /* 调整节点位置 */
    .node-1 { top: 10%; left: 30%; }
    .node-2 { top: 26%; left: 16%; }
    .node-3 { top: 48%; left: 22%; }
    .node-4 { top: 70%; left: 30%; }
    .node-5 { top: 83%; left: 40%; }
    .node-8 { top: 53%; left: 10%; }
    .node-13 { top: 86%; left: 30%; }
}

/* === 响应式设计 - 小屏设备 (768px以下) === */
@media (max-width: 768px) {
    .side-nav {
        display: none;
    }
    
    /* 平板端顶部导航栏优化 */
    .site-header {
        padding: 10px 16px;
        gap: 15px;
    }
    
    .logo img {
        height: 42px;
    }
    
    .logo .qingyun-logo {
        height: 22px;
    }
    
    .main-nav {
        gap: 4px;
    }
    
    .main-nav a {
        font-size: 14px;
        padding: 6px 10px;
    }
    
    .section-container {
        padding: 80px 20px 60px;
    }
    
    .dept-title {
        font-size: 36px;
    }
    
    .dept-stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 140px;
        padding: 20px 25px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .platform-card.square {
        aspect-ratio: auto;
        min-height: 140px;
    }
    
    .mind-map {
        display: none;
    }
    
    .page-section::after {
        width: 90%;
    }
    
    /* 移动端账号入口优化 */
    .account-avatar {
        width: 36px;
        height: 36px;
    }
    
    .account-text {
        font-size: 16px;
    }
    
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* === 底部导航栏 === */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(232, 1, 21, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: none; /* 移除transform过渡，改用JS控制高度 */
}

/* 触发区域 */
.footer-trigger {
    cursor: default;
    padding: 12px 24px; /* 恢复原padding */
    text-align: center;
    transition: all 0.3s ease;
    user-select: none;
    pointer-events: none; /* 禁止点击交互 */
}

.footer-trigger:hover {
    background-color: transparent; /* 移除hover效果 */
}

.trigger-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.trigger-text {
    color: #ffffff;
    font-size: 13px; /* 恢复原字体大小 */
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* 使用系统默认字体 */
    letter-spacing: 0.5px;
}

.trigger-icon {
    color: #ffffff;
    font-size: 12px; /* 恢复原箭头图标大小 */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 详细信息区域 */
.footer-detail {
    height: 0;
    overflow: hidden;
    transition: none; /* 移除CSS过渡，由JS控制 */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.95) 100%);
}

.footer-detail-content {
    padding: 15px 24px 10px; /* 恢复padding */
    max-width: 1200px;
    margin: 0 auto;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 12px; /* 减少底部边距 */
}

.footer-section {
    text-align: center;
}

.footer-section-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 850;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* 使用系统默认字体 */
    margin-bottom: 12px; /* 减少标题下方间距 */
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px; /* 减少列表项间距 */
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* 使用系统默认字体 */
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-copyright {
    text-align: center;
    padding-top: 10px; /* 减少顶部间距 */
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* 使用系统默认字体 */
}

/* 移动端优化 */
@media (max-width: 768px) {
    .footer-sections {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-detail-content {
        padding: 12px 16px 8px; /* 恢复移动端padding */
    }
    
    .trigger-text {
        font-size: 12px; /* 恢复移动端字体 */
    }
    
    /* 移动端账号入口优化 */
    .account-avatar {
        width: 36px;
        height: 36px;
    }
    
    .account-text {
        font-size: 16px;
    }
    
    .footer-trigger {
        padding: 10px 16px; /* 恢复小屏幕padding */
    }
    
    .trigger-text {
        font-size: 11px; /* 恢复小屏幕字体 */
    }
    
    .footer-section-title {
        font-size: 15px;
    }
    
    .footer-links a {
        font-size: 12px;
    }
    
    /* 移动端导航栏间距优化 */
    .main-nav {
        gap: 4px;
    }
    
    .main-nav a {
        font-size: 14px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    /* 小屏幕顶部导航栏优化 */
    .site-header {
        padding: 8px 12px;
        gap: 10px;
    }
    
    .logo img {
        height: 36px;
    }
    
    .logo .qingyun-logo {
        height: 18px;
    }
    
    /* 小屏幕账号入口优化 */
    .account-avatar {
        width: 32px;
        height: 32px;
    }
    
    .account-text {
        font-size: 14px;
    }
    
    .footer-trigger {
        padding: 10px 16px; /* 恢复小屏幕padding */
    }
    
    .trigger-text {
        font-size: 11px; /* 恢复小屏幕字体 */
    }
    
    .footer-section-title {
        font-size: 15px;
    }
    
    .footer-links a {
        font-size: 12px;
    }
    
    /* 移动端导航栏间距优化 */
    .main-nav {
        gap: 4px;
    }
    
    .main-nav a {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* ============================================
   青云自定义弹窗组件
   ============================================ */

/* 弹窗遮罩层 */
.qingyun-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.qingyun-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 弹窗主体 */
.qingyun-modal {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(232, 1, 21, 0.1);
    max-width: 420px;
    width: 90%;
    padding: 0;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.qingyun-modal-overlay.active .qingyun-modal {
    transform: scale(1) translateY(0);
}

/* 弹窗头部 */
.qingyun-modal-header {
    background: linear-gradient(135deg, #e80115 0%, #ff3347 100%);
    padding: 24px 28px;
    text-align: center;
    position: relative;
}

.qingyun-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    border: 3px solid rgba(255, 255, 255, 0.4);
}

.qingyun-modal-title {
    font-size: 20px;
    font-weight: 850;
    color: #ffffff;
    margin: 0;
    letter-spacing: 1px;
    font-family: 'ChillDuanSans', 'AlibabaHealthFont2.0CN-85B', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 弹窗内容 */
.qingyun-modal-body {
    padding: 28px 28px 24px;
    text-align: center;
}

.qingyun-modal-message {
    font-size: 15px;
    color: #333333;
    line-height: 1.8;
    margin: 0;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.qingyun-modal-message strong {
    color: #e80115;
    font-weight: 700;
}

/* 弹窗底部按钮 */
.qingyun-modal-footer {
    padding: 0 28px 28px;
    display: flex;
    justify-content: center;
}

.qingyun-modal-btn {
    min-width: 140px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #e80115 0%, #ff3347 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(232, 1, 21, 0.3);
    letter-spacing: 1px;
}

.qingyun-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 1, 21, 0.4);
}

.qingyun-modal-btn:active {
    transform: translateY(0);
}

/* 关闭按钮（右上角X） */
.qingyun-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    color: #ffffff;
    font-weight: bold;
    line-height: 1;
}

.qingyun-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .qingyun-modal {
        max-width: 360px;
        width: 85%;
    }
    
    .qingyun-modal-header {
        padding: 20px 24px;
    }
    
    .qingyun-modal-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
    
    .qingyun-modal-title {
        font-size: 18px;
    }
    
    .qingyun-modal-body {
        padding: 24px 24px 20px;
    }
    
    .qingyun-modal-message {
        font-size: 14px;
    }
    
    .qingyun-modal-footer {
        padding: 0 24px 24px;
    }
    
    .qingyun-modal-btn {
        min-width: 120px;
        padding: 10px 28px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .qingyun-modal {
        max-width: 320px;
        width: 80%;
    }
    
    .qingyun-modal-header {
        padding: 18px 20px;
    }
    
    .qingyun-modal-icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    .qingyun-modal-title {
        font-size: 17px;
    }
    
    .qingyun-modal-body {
        padding: 20px 20px 18px;
    }
    
    .qingyun-modal-message {
        font-size: 13px;
        line-height: 1.7;
    }
    
    .qingyun-modal-footer {
        padding: 0 20px 20px;
    }
    
    .qingyun-modal-btn {
        min-width: 110px;
        padding: 10px 24px;
        font-size: 13px;
    }
    
    .qingyun-modal-close {
        top: 12px;
        right: 12px;
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
}
