 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 .display_none {
     display: none !important;
 }

 html,
 body {
     width: 100%;
     height: 100%;
     overflow: hidden;
 }

 body {
     overflow-y: auto;
     scroll-snap-type: y mandatory;
     scroll-behavior: smooth;
 }

 .body1,
 .body2,
 .body3 {
     width: 100%;
     height: 100vh;
     scroll-snap-align: start;
     scroll-snap-stop: always;
     overflow: hidden;
     position: relative;
 }

 .Overall {
     width: 100%;
     height: 100%;
     display: flex;
     flex-direction: column;
     position: relative;
     z-index: 10;
 }

 .display_flex {
     display: flex;
 }

 /* ===================== body1 视频背景 ===================== */
 .bg-video {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     z-index: 1;
     pointer-events: none;
 }

 .body1 .top {
     height: 90%;
     padding: 40px;
     display: flex;
     justify-content: flex-start;
 }

 .body1 .botton {
     height: 10%;
 }

 .body1 .left {
     width: 30%;
     display: flex;
     flex-direction: column;
     justify-content: space-around;
     height: 100%;
 }

 .body1 .left>div {
     height: 16%;
     background: rgba(255, 255, 255, 0.2);
     clip-path: polygon(0 0, 100% 15%, 100% 100%, 0 85%);
     transition: all 0.4s ease;
     border-radius: 6px;
     display: flex;
     align-items: center;
     padding: 0 20px;
     font-size: 18px;
     color: rgba(255, 255, 255, 0.95);
     overflow: hidden;
 }

 .body1 .left>div p {
     width: 100%;
     text-align: left;
     transition: all 0.5s ease;
 }

 .body1 .left>div:hover p {
     text-align: center;
     font-size: 40px;
 }

 .body1 .left>div:hover {
     transform: scale(1.08);
     background: rgba(255, 255, 255, 0.1);
     color: rgba(255, 255, 255, 1);
 }

 .body1 .right {
     width: 70%;
 }

 /* ===================== body2 田字卡片 ===================== */
.body2 {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0; /* 增加一点上下间距 */
}

.body2 .Overall {
    width: 90%; /* 调整为90%以适应移动端或不同屏幕 */
    max-width: 800px; /* 限制最大宽度 */
    margin: 0 auto;
}

.body2 .top {
    height: auto;
    aspect-ratio: 1/1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 100px; /* 调整间距，原100px太宽了，20px更协调 */
    padding: 0;
}

/* 卡片主体 */
.body2 .card-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: 0.4s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* 启用 3D 变换（如果你想做 3D 翻转效果，取消下面这行注释） */
    transform-style: preserve-3d;
}

/* --- 卡片翻转/滑动核心逻辑 --- */
/* 默认状态：正面显示，反面隐藏 */
.body2 .card-item .one {
    transform: translateY(0);
    opacity: 1;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.body2 .card-item .two {
    transform: translateY(100%); /* 反面初始在底部 */
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* 悬停状态：正面滑出，反面滑入 */
.body2 .card-item:hover .one {
    transform: translateY(-100%);
    opacity: 0;
}

.body2 .card-item:hover .two {
    transform: translateY(0);
    opacity: 1;
}

/* --- 默认图标区域 --- */
.body2 .card-item .one {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    background: #fff; /* 确保背景色 */
}

.body2 .card-item .one img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

/* --- 详情区域 (反面) --- */
.body2 .card-item .two {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: white; /* 文字颜色改为白色以便在深色背景上显示 */
    z-index: 2;
    background: #111; /* 深色背景 */
    padding: 20px;
    box-sizing: border-box;
}

/* 如果你更喜欢用你原本的 "遮罩层" 效果而不是滑动，可以注释掉上面的 .two 样式，启用下面这段 */
/*
.body2 .card-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); 
    z-index: 2;
    transform: translateY(100%); 
    transition: transform 0.5s ease;
}
.body2 .card-item:hover::before {
    transform: translateY(0);
}
.body2 .card-item .two {
    z-index: 3; 
    transform: translateY(100%);
    transition: transform 0.5s ease;
}
.body2 .card-item:hover .two {
    transform: translateY(0);
}
*/

/* ===================== body2 头像层级优化 ===================== */
.body2 .Avatar {
    position: relative;
    width: 100px; /* 调整大小以适应卡片 */
    height: 100px;
    border-radius: 50%;
    padding: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.body2 .Avatar img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

/* --- 动态旋转粒子边框 --- */
.body2 .card-item:hover .Avatar::before {
    /* 只有在悬停时旋转，节省性能 */
    animation: spin-border 4s linear infinite;
}

.body2 .Avatar::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(
        from 0deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.8) 20%, 
        transparent 40%,
        transparent 60%,
        rgba(255, 255, 255, 0.8) 80%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    opacity: 0.8;
}

/* --- 内部微光 --- */
.body2 .Avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, #fff, #333, #fff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    z-index: 1;
}

/* --- 旋转动画 --- */
@keyframes spin-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.body2 .two p {
    font-size: 24px; /* 调整字体大小 */
    margin: 0;
    text-align: center;
    font-weight: bold;
}

/* --- 按钮样式 --- */
.body2 .two a {
    text-decoration: none;
    color: #FFFFFF;
}

.body2 .two button {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(145deg, #1a1a1a, #000000);
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.3),
        0 6px 6px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.body2 .two button:hover {
    transform: translateY(-3px);
    background: linear-gradient(145deg, #262626, #1a1a1a);
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.4),
        0 10px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.body2 .two button:active {
    transform: translateY(2px);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.body2 .two button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.body2 .two button:hover::after {
    left: 100%;
}

/* 修复拼写错误 */
.body2 .botton {
    height: 10px; /* 原 botton 拼写错误，建议改为 bottom */
}
 /* ===================== body3 ===================== */
 .body3 {
    background: #000;
    /* 增加一个全局字体，让中文显示更好看 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.body3 .top {
    height: 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    /* 稍微调小间距，避免在大屏上过于分散，视觉上更整体 */
    gap: 25px; 
    padding: 40px;
    box-sizing: border-box; /* 确保padding不会撑破高度 */
}

.body3 .lost_botton {
    height: 50%;
    background: #111;
    padding: 30px;
    color: #fff;
    /* 增加圆角，与卡片风格统一 */
    border-radius: 16px; 
    box-sizing: border-box;
}

/* 通用卡片容器样式 */
.body3 .Hongmeng,
.body3 .system,
.body3 .AIconversation {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px; /* 增加间距，让布局呼吸感更强 */
    padding: 20px;
    box-sizing: border-box;
}

.body3 a {
    text-decoration: none;
    font-size: 30px;
    color: #000;
    /* 增加文字微弱的阴影，提升在白色背景上的可读性 */
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* 图标/平台容器 */
.body3 .apk,
.body3 .ios,
.body3 .hap {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* --- 重点修改区域：按钮样式 --- */
.body3 button {
    padding: 12px 28px; /* 增加内边距，让按钮更饱满 */
    background: #fff;
    border: 1px solid #e5e7eb; /* 边框颜色变淡，更精致 */
    border-radius: 12px; /* 圆角稍微加大 */
    font-size: 16px;
    font-weight: 600; /* 字体加粗一点 */
    color: #333;
    cursor: pointer;
    
    /* 层次感核心：底部边框 + 柔和阴影 */
    border-bottom: 4px solid #e5e7eb; 
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1); 
    
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 更流畅的动画曲线 */
    position: relative;
    overflow: hidden;
}

/* 悬停状态：轻微上浮，阴影加深 */
.body3 button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.15);
    border-bottom: 4px solid #d1d5db; /* 悬停时底部线条变深 */
}

/* 点击状态：制造“按下去”的物理质感 */
.body3 button:active {
    transform: translateY(2px); /* 向下位移 */
    box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.1); /* 阴影变浅 */
    border-bottom: 2px solid #d1d5db; /* 底部边框变窄，模拟压缩感 */
}

/* --- 卡片容器样式 (保持原有逻辑，微调) --- */
.body3 .Hongmeng,
.body3 .ManagementSystem,
.body3 .AIC {
    width: 80%;
    height: 70%;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 阴影稍微柔和一点 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); 
    background: #fff;
    position: relative; /* 确保层级正常 */
}

.body3 .AIC {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    overflow: hidden;
    z-index: 1;
}

.body3 .AIC::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
            #4f46e5, #7c3aed, #ec4899, #f59e0b,
            #10b981, #3b82f6, #4f46e5);
    background-size: 400% 400%;
    animation: colorFlow 6s ease infinite;
    z-index: -1;
}

/* 竖排文字样式 */
.vertical-text {
    width: 100%;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-family: "KaiTi", "STKaiti", "Ma Shan Zheng", cursive, serif;
    font-size: 65px;
    letter-spacing: 10px;
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* 确保动画定义存在（原代码未提供，补充以防报错） */


 @keyframes colorFlow {
     0% {
         background-position: 0% 50%;
     }

     50% {
         background-position: 100% 50%;
     }

     100% {
         background-position: 0% 50%;
     }
 }

 /* 右侧时间 */
 .right {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     gap: 16px;
     color: #fff;
     font-size: 100px;
     font-weight: bold;
 }

 /* ===================== 全屏背景粒子动画样式 ===================== */
 .bg-particle {
     position: absolute;
     border-radius: 50%;
     pointer-events: none;
     z-index: 1;
 }

 @keyframes float-up {
     0% {
         transform: translateY(100vh);
         opacity: 0;
     }

     10% {
         opacity: 0.8;
     }

     90% {
         opacity: 0.8;
     }

     100% {
         transform: translateY(-100px);
         opacity: 0;
     }
 }