/**
 * ========================================
 * 智由帮科技官网 - 全局样式表
 * ========================================
 * 
 * 文件结构：
 * 1. 全局重置和基础样式
 * 2. CSS变量定义（Design Tokens）
 * 3. 布局组件（Header、Footer）
 * 4. 轮播组件（Glide）
 * 5. 内容区域（Sections）
 * 6. 卡片组件（Cards）
 * 7. 表单和按钮
 * 8. 响应式设计
 * 9. 动画和过渡
 * 10. 工具类和辅助样式
 * 
 * 设计规范：
 * - 颜色：使用CSS变量，便于主题切换
 * - 间距：基于8px系统（8/16/24/32/48/64px）
 * - 断点：576/768/992/1100/1200/1400px
 * - 动画：默认300-500ms，使用cubic-bezier缓动
 * 
 * @author 智由帮科技技术团队
 * @version 2.0
 * @lastModified 2026-05-26
 */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Helvetica,"PingFang SC","Microsoft YaHei", sans-serif;
    font-size: 14px;
}
img{
    width: 100%;
    height: auto;
}

/* ========================================
   图片基础样式
   ======================================== */
img {
    opacity: 1 !important;
    transition: opacity 0.3s ease-in-out;
    display: block;
}

/* 确保所有图片都正常显示，不管是什么状态 */
img[loading="lazy"],
img.loaded,
img:not([loading="lazy"]) {
    opacity: 1 !important;
}

/* 复杂的懒加载样式暂时禁用
img[loading="lazy"] {
    opacity: 0;
}
img[loading="lazy"].loaded {
    opacity: 1;
} */

/* ========================================
   无障碍访问 - 跳过导航链接
   ======================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid white;
    outline-offset: 2px;
}

/* ========================================
   CSS变量定义（Design Tokens）
   ======================================== */
/* 颜色系统 */
:root {
    /* 主色调 */
    --primary-color: #ff434f;
    --primary-hover: #e63c44;
    --primary-light: rgba(255, 67, 79, 0.1);
    
    /* 次要色 */
    --secondary-color: #e3e3e3;
    
    /* 文字颜色层级 */
    --text-color-lightest: #e7e9ec;
    --text-color-darker: #2e2e2e;
    --text-color-dark: #494949;
    --text-color-gray: #8b8b8b;
    --text-color-dark-gray: #727272;
    --text-color-light-gray: #c6c6c6;
    
    /* 背景颜色 */
    --backdrop-color: rgba(42, 42, 42, 0.69);
    --bg-light: #f9fbfb;
    --bg-dark: #181818;
    
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.2);
    
    /* 间距系统 */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    /* 过渡 */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index层级 */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-tooltip: 400;
}

/* ========================================
   Header导航栏样式
   ======================================== */
header{
    width: 100vw;
    height: 60px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding: 0 40px;
    align-items: center;
    position: relative;
    z-index: var(--z-sticky);
    opacity: 1 !important; /* 确保header可见 */
    visibility: visible !important;
}

.logo{
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color-lightest);
    display: flex;
    align-items: center;
}
.logo_icon{
    width: 80px;
    height: 80px;
    margin-right: 10px;
}

header nav{
    justify-self: end; /*放置在最后边*/
}
header nav i{
    color:var(--text-color-lightest);
    cursor: pointer;
}
header nav a{
    color:var(--text-color-lightest);
    text-decoration: none;
    margin: 0 24px;/*上下为0 ，左右为24个像素*/
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

header nav a:hover::after {
    width: 100%;
}

header nav a:hover {
    color: var(--primary-color);
}

/* 下拉菜单样式 */
header nav .dropdown {
    position: relative;
    display: inline-block;
}

header nav .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    z-index: var(--z-dropdown);
    padding: 8px 0;
}

header nav .dropdown-content a {
    color: var(--text-color-dark);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    margin: 0;
    text-align: left;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

header nav .dropdown-content a:hover {
    background-color: var(--primary-color);
    color: white;
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

header nav .dropdown:hover .dropdown-content {
    display: block;
}

/* sticky状态下的下拉菜单文字颜色 */
header.sticky nav .dropdown-content a {
    color: var(--text-color-dark);
}

header.burger{
    display: none;
}

header.sticky{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background-color: white;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.1);
    animation: dropDown 0.5s ease-in-out forwards;
    z-index: var(--z-sticky);
}
header.sticky .logo,
header.sticky nav a,
header.sticky nav i{
    color: var(--text-color-darker);
}
@keyframes dropDown{
    from {
        transform: translateY(-100px);
    }
    to{
        transform: translateY(0);
    }
}

.glide{
    position: relative;
    top: -80px;
    z-index: 50;
}

.glide__slide img,.glide__slide video{
    width: 100vw;
    height: 100vh;
    object-fit: cover;/*等比例的缩放*/
}

.slide-caption{
    position: absolute;
    z-index: 80;
    color: var(--text-color-lightest);
    text-align: center;
    max-width: 80vw;/*60vw表示占比60%*/
}

.glide__slide{
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-caption h1{
    font-size: 54px;
    font-weight: 600;
}
.slide-caption h3{
    font-size: 24px;
    margin: 48px 0;
}
.slide-caption.left{
    max-width: 80vw;
    text-align: left;
}

.slide-caption > *{ /*  “>*”只选中下一层（直接）的子元素*/
    opacity: 0;
}

.backdrop{
    background: var(--backdrop-color);
    position: absolute;
    z-index: 60;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.5;/*透明度*/
}

.explore-btn{
    padding: 14px 32px;
    border: 0;
    border-radius: 4px;
    color: var(--text-color-lightest);
    background-color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    outline: none;
}
.explore-btn span{
    display: inline-block;
    position: relative;
    transition: 0.5s;
}
.explore-btn span:after {
    content: '»';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -30px;
    transition: 0.5s;
}
.explore-btn:hover span {
    padding-right: 20px;
}
.explore-btn:hover span:after {
    opacity: 1;
    right: 0;
}

/* 智能创新 */

/* 内容区域，通用样式 */
.content-wrapper{
    display: flex;
    align-items: center;/*垂直居中*/
    justify-content: center;/* 水平居中,只针对content */
    flex-direction: column;
}

/* 租赁内容区域，通用样式 */
.content-Rentswrapper{
    display: flex;
    align-items: center;/*垂直居中*/
    justify-content: center;/* 水平居中,只针对content */
    flex-direction: column;
}
section{
    display: grid;/*栅格布局*/
    justify-items: center;/* 水平居中,只针对所有的列的对齐方式 */
    justify-content: center;
    align-items: center;
    max-width: 1180px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 80px;
}
.section-bg{
    position: relative;
}
.section-bg::before{
    content: "";
    display: block;
    position: absolute;
    background-color: #f9fbfb;
    width: 100vw;
    height: 100%;
    z-index: -1;
}

.title1{
    font-size: 34px;
    color: var(--text-color-dark);
    text-align: center;
}
.title1::after{ /* ::after为尾元素*/
    content: "";
    display: block;
    width: 80%;
    height: 4px;
    background-color: var(--primary-color);
    margin-top: 14px;
    margin-left: auto;
    margin-right: auto;
}

.intro{
    margin: 28px 0 60px 0;/* 距上边28px 距右边0 距下边60px 距左边0 */
    font-size: 18px;
    color: var(--text-color-dark-gray);
}

.about-us{
    margin-top: 48px;
    padding-top: 62px;/* 上方内边距*/
    padding-bottom: 52px;
}

.features{
    display: grid;
    grid-template-columns: repeat(3,1fr);/*grid的3列布局,repeat(3,1fr)其中3是重复3次，1fr是重复的位置；此处也可以写成1fr 1fr 1fr*/
    grid-template-rows: 126px 126px; /* grid的2行布局*/
    column-gap: 5vw; /*列之间的间隙*/
}
.feature{
    display: grid;
    grid-template-areas:
        "icon title"
        "icon content";/*自定义行和列布局的名字和位置,后面的子元素用到areas的地方可直接写这里边的内容*/
    grid-template-columns: 60px 1fr;
    grid-template-rows:1fr 3fr;
}
.feature i.fas{
    grid-area:icon;
    font-size: 34px;
    color: var(--primary-color);
}
.feature-title{
    grid-area: title;
    font-size: 18px;
    color: var(--text-color-darker);
}
.feature-content{
    grid-area: content;
    color: var(--text-color-gray);
    margin-top: 10px;
}
/* 成功案例 */
.showcases{
    max-width: unset;
    padding: 0;
    padding-top: 72px;
}
.filter-btns{
    margin-top: 54px;
    margin-bottom: 38px;
}
.filter-btn{
    margin:0 7px;
    background-color: var(--secondary-color);
    border: 0;
    color: var(--text-color-dark-gray);
    padding: 8px 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.4s;
}
.filter-btn:focus,
.filter-btn:active{
    outline: none; /*也可以在。filter-btn中写outline:none，是一个效果*/
}

.filter-btn.active,
.filter-btn:hover{
    background-color: var(--primary-color);
    color: var(--text-color-lightest);
}

.showcases .cases{
    width: 100vw;
    text-align: center;
    font-size: 0; /* 消除inline-block之间的间隙 */
}
.showcases .case-item{
    width: 25vw;
    height: 20vw;
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
    font-size: 14px; /* 恢复正常字体大小 */
}

.case-item img{
    height: 100%;
    object-fit: cover;/*自动等比例缩放*/
}

/* 查看更多按钮 */
.show-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 40px auto 20px;
    padding: 12px 32px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 67, 79, 0.3);
}

.show-more-btn:hover {
    background-color: #e63c44;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 67, 79, 0.4);
}

.show-more-btn i {
    transition: transform 0.3s ease;
}

/* 案例容器样式 */
.showcases .cases {
    position: relative;
    overflow: hidden;
}

/* 添加渐变遮罩（当需要显示更多按钮时） */
.showcases .cases::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent, #f9fbfb);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 当有更多案例可显示时显示渐变遮罩 */
.showcases .cases.has-more::after {
    opacity: 1;
}

/* 按钮展开状态 */
.show-more-btn.expanded i {
    transform: rotate(180deg);
}

/* 响应式折叠高度 */
@media (max-width: 1200px) {
    .showcases .cases {
        max-height: 700px;
    }
}

@media (max-width: 992px) {
    .showcases .cases {
        max-height: 560px;
    }
}

@media (max-width: 768px) {
    .showcases .cases {
        max-height: 480px;
    }
}

@media (max-width: 576px) {
    .showcases .cases {
        max-height: 360px;
    }
}

/*服务流程部分*/
.service {
    padding-top: 131px;
}

.services{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: 1fr 1fr;
    column-gap: 38px;
    row-gap: 34px;
}
.service-item{
    display: grid;
    grid-template-areas:
        "ser-icon ser-title"
        "ser-icon ser-content";
    grid-template-columns: 70px 1fr;/*第一列70px，剩下的填满整个剩余空间*/
    grid-template-rows: 1fr 3fr;
    padding: 24px;
    box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.06);
}
.service-item:hover{
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);;
    transition: 0.5s;
}
.service-item i.fas{
    grid-area: ser-icon;
    font-size: 42px;
    color: var(--primary-color);
    padding: 6px;
}
.service-title{
    grid-area: ser-title;
    font-size:24px;
    color:var(--text-color-darker);
}
.service-item .service-content{
    grid-area: ser-content;
    color: var(--text-color-gray);
    line-height: 30px;
    font-size: 16px;
    margin-top: 8px;
}

/* 智能创新 */
#team-intro.team-intro{
    padding-top: 20px;/* 上方内边距*/
    padding-bottom: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}
.team-intro .title1{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.team-intro .team-members{
    display: grid;
    grid-template-columns: repeat(5, 220px);
    column-gap: 12px;
    row-gap: 28px;
    margin-top: 86px;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 30px;
    justify-content: center;
    justify-items: center;
    align-items: center;
}
/* 业务创新 */
#team-rents.team-rents{
    padding-top: 20px;/* 上方内边距*/
    padding-bottom: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}
.team-rents .title1{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.team-rents .team-members{
    display: grid;
    grid-template-columns: repeat(5, 220px);
    column-gap: 12px;
    row-gap: 28px;
    margin-top: 86px;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 30px;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

/* 详情页面专用样式 - 仅针对独立页面 */
.detail-page .team-rents {
    max-width: 100% !important;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}
.detail-page .team-rents .team-members {
    grid-template-columns: repeat(2, 220px);
    margin-top: 40px;
    max-width: 600px;
}
.team-member{
    background-color: white;
    box-shadow: 0 0 24px rgba(0,0,0,0.2);
    text-align: center;
    display: grid;
    padding-bottom: 28px;
    transition: 0.4s;
    justify-items: center;
    min-width: 0; /* 防止grid子元素溢出 */
    border-radius: 8px;
    overflow: visible;
    position: relative;
}

/* 联系框容器 */
.contact-box {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* 联系我们触发按钮 */
.contact-trigger {
    margin-top: 12px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: white;
}

.contact-trigger:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 弹出内容框 */
.contact-popup {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

/* 弹出框箭头 */
.contact-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: white;
}

/* 鼠标悬停时显示弹出框 */
.contact-box:hover .contact-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 弹出框标题 */
.popup-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color-darker);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}

/* 弹出框内容 */
.popup-content {
    margin-bottom: 10px;
}

.popup-content p {
    margin: 6px 0;
    font-size: 12px;
    color: var(--text-color-dark-gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.popup-content i {
    color: var(--primary-color);
    width: 16px;
}

/* 弹出框按钮 */
.popup-btn {
    width: 100%;
    padding: 8px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.popup-btn:hover {
    background-color: var(--primary-hover);
}

/* 雷达图片容器 */
.team-member .profile-image.radar-image {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.team-member .profile-image.radar-image img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
}

/* 雷达扫描效果 */
.radar-scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, transparent 50%, rgba(0, 255, 0, 0.1) 100%);
    pointer-events: none;
}

.radar-scan::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(0, 255, 0, 0.3) 30deg,
        transparent 60deg
    );
    transform: translate(-50%, -50%);
    animation: radar-sweep 3s linear infinite;
}

@keyframes radar-sweep {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
.team-member:hover{
    transform: translateY(-20px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.team-member.highlight-card{
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.4s ease !important;
}
.team-member .profile-image{
    overflow: hidden;/* 蒙版 */
    width: 100%;
}
.profile-image img{
    width: 100%;
    height: 260px;
    object-fit: cover;/* 自动等比例缩放*/
    object-position: center;/* 居中显示 */
    display: block;
}

.rents-image img{
    width: 30%;
    height: 84px;
    object-position: top center;/* 等比例缩放后的位置为图片的中上方，这样的显示更好 */
}
.team-member .name{
    margin-top: 18px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color-dark);
}
.team-member .position{
    margin-top: 12px;
    color: var(--text-color-dark-gray);
    margin-bottom: 18px;
}
.team-member .social-links{
    width: 100%;
    max-width: 200px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    column-gap: 10px;
}
.team-member .social-links li{
    list-style: none;
}
.social-links li a{
    color: var(--text-color-dark);
    text-decoration: none;
}
.team-member:hover{
    transform: translateY(-20px) scale(1.05); /* -的就是往上走，+就是往上走,scale(1.05)是放大到1.05倍 */
    box-shadow: 0 0 36px rgba(0, 0, 0, 0.1);
}

/* 数据区域 */
.data-section{
    max-width: unset;
    height: 255px;
    display: grid;
    grid-template-columns: repeat(4,minmax(auto,220px));
    width: 100vw;
    background-image: url("images/adult-business-computer-contemporary-380769.jpg");
    background-size: cover;
    background-position: center;

    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
}
.data-section::before{
    content: "";
    display: block;
    position: absolute;
    background-color: var(--backdrop-color);
    width: 100%;
    height: 100%;
    z-index: 1;
}
.data-piece{
    width: 255px;
    display: grid;
    grid-template-rows: repeat(3,1fr);
    color: white;
    justify-items: center;
    position: relative;
    z-index: 40;
}
.data-piece i.fas{
    font-size: 44px;
}
.data-piece .num{
    margin-top: 7px;
    font-size: 41px;
    font-weight: 600;
}
.data-piece .data-desc{
    font-weight: 500;
    font-size: 18px;
}

/* 公司动态 */
.company-activities{
    margin-top: 62px;
    margin-bottom: 62px;
}
.activities{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    column-gap: 24px;
}
.activity{
    background-color: white;
    box-shadow: 0 0 24px rgba(0,0,0,0.2);
    padding-bottom: 28px;
    transition: 0.4s;
}
.activity:hover{
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 0 36px rgba(0, 0, 0, 0.1);
}
.activity .act-image-wrapper{
    overflow: hidden;
}
.activity img{
    width: 100%;
    height: 300px;
    object-fit: cover;/* 自动等比例缩放*/

}
.activity .meta{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 10px 10px;
    color: var(--text-color-light-gray);
}
.activity .act-title,article{
    padding: 10px 10px;
}
.act-title{
    font-size: 18px;
}
article{
    color: var(--text-color-gray);
    letter-spacing: 0.54px;
    line-height: 24px;
}
.activity .read-more-btn{
    margin-left: 10px;
    border: 0;
    width: 30%;
    height: 40px;
    border-radius: 4px;
    color: var(--text-color-lightest);
    background-color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    outline: none;
}
.read-more-btn span{
    display: inline-block;
    position: relative;
    transition: 0.5s;
}
.read-more-btn span:after {
    content: '»';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -30px;
    transition: 0.5s;
}
.read-more-btn:hover span {
    padding-right: 20px;
}
.read-more-btn:hover span:after {
    opacity: 1;
    right: 0;
}


/* footer:联系我们(底部) */
footer{
    margin-top: 124px;
    background-color: #181818;
    display: grid;
    justify-items: center;
    padding-top: 72px;
    padding-bottom: 24px;
}
.footer-menus{
    width: 100%;
    max-width: 1180px;
    display: grid;
    grid-template-columns: 2fr repeat(4,1fr);
    padding: 0 80px;
    position: relative;
}
.menu-title{
    font-size: 16px;
    color: white;
    font-weight: 500;
    margin-bottom: 20px;
}
.contact-us{
    justify-self: start; /* 水平上在最开始的部分 */
    color: var(--text-color-lightest);
}
.contact-us p:not(:first-child){
    padding-bottom: 16px;
}
.menu-items li{
    list-style: none;
    padding-bottom: 8px;
}
.menu-items li a{
    text-decoration: none;
    font-weight: 300;
    color: var(--text-color-lightest);
}
.icp-info{
    margin-top: 24px;
    margin-bottom: 16px;
}
.icp-info,
.rights {
    grid-column: 1 / -1;/* 从编号为1到最后一个，-2就是倒数第二个 */
    justify-self: center;
    color: white;
}
.scrollToTop{
    display: none;
    position: relative;
    z-index: 300;
}
.scrollToTop a{
    width: 32px;
    height: 32px;
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    text-decoration: none;
    position: fixed;
    bottom: 60px;
    right: 30px;
}

/* 实现响应式 */
@media(max-width:1400px){
    .team-intro .team-members,
    .team-rents .team-members{
        grid-template-columns: repeat(5, minmax(180px, 1fr));
        max-width: 1200px;
        row-gap: 28px;
        justify-content: center;
        justify-items: center;
        align-items: center;
    }
}

@media(max-width:1200px){
    .team-intro .team-members,
    .team-rents .team-members{
        grid-template-columns: repeat(3, minmax(200px, 1fr));
        max-width: 900px;
        justify-content: center;
        justify-items: center;
        align-items: center;
    }
}

@media(max-width:1100px){
    header nav {
        display: none;
    }

    header .burger{
        display: block;
        width: 20px;
        height: 6px;
        position: relative;
        justify-self: end;
        cursor: pointer;
    }
    .burger-line1,
    .burger-line2,
    .burger-line3{
        width: 20px;
        height: 2px;
        background-color: var(--text-color-lightest);
    }
    .burger-line1{
        position: absolute;
        top: -6px;
    }
    .burger-line3{
        position: absolute;
        top: 6px;
    }

    header.open nav{
        display: grid;
        position: absolute;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        background-color: white;
        grid-auto-rows: max-content;
        justify-items: end;

        padding: 0 40px;
        opacity: 0;
        animation: slideDown 0.6s ease-out forwards;
    }
    header.open nav > *{
        color: var(--text-color-darker);
        animation: showMenu 0.5s linear forwards 0.4s;
        font-size: 18px;
        margin: 4px 0;
        opacity: 0;
    }
    header.open nav > i.fas{
        margin-top: 10px;
    }

    header.open .burger-line1,
    header.open .burger-line2,
    header.open .burger-line3,
    header.sticky .burger-line1,
    header.sticky .burger-line2,
    header.sticky .burger-line3{
        background-color: var(--text-color-darker);
        transition: 0.4s ease;
    }

    header.open .burger-line1{
        transform: rotate(45deg) translate(3px,5px);/* rotate(45deg)是旋转45度*/
    }
    header.open .burger-line2{
        transform:translateX(5px);
        opacity: 0;/*透明的，不可见*/
    }
    header.open .burger-line3{
        transform: rotate(-45deg) translate(3px,-5px);
    }

    header.open .logo{
        z-index: 40;
        color: var(--text-color-darker);
    }

    @keyframes slideDown{
        from{
            height: 0;
            opacity: 0;
        }
        to{
            height: 100vh;
            padding-top: 80px;
            opacity: 1;
        }
    }
    @keyframes showMenu{
        from{
            opacity: 0;
            transform: translateY(-1vh);
        }
        to{
            opacity: 1;
            transform: translateY(0);
        }
    }
    .service-item .service-title{
        font-size: 20px;
    }
    .service-item .service-content{
        font-size: 14px;
        line-height: 24px;
    }
    .team-intro .team-members,
    .team-rents .team-members{
        grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
        max-width: 700px;
        row-gap: 28px;
        column-gap: 4vw;/* vw是浮动的 */
        justify-content: center;
        justify-items: center;
        align-items: center;
    }
    .activities{
        grid-template-columns: repeat(2,1fr);
        row-gap: 36px;
    }
}

@media(max-width:992px){
    .slide-caption h1{
        font-size: 48px;
    }
    .slide-caption h3{
        font-size: 18px;
    }

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

    .data-section {
        grid-template-columns: repeat(2,minmax(200px,auto));
        padding: 24px 0;
        height: auto;
        row-gap: 24px;
        background-size: 200%;
    }
    .showcases .case-item{
        width: calc(100vw/3);
    }
}
@media(max-width:768px){
    section,.footer-menus{
        padding: 0 40px;
    }
    .footer-menus{
        grid-template-columns: 2fr repeat(2,1fr);
    }
    .contact-us{
        grid-row: 1/3;
    }
    .footer-menu{
        text-align: right;
    }
    .activities{
        grid-template-columns: 1fr;
        row-gap: 36px;
    }
    .data-section{
        grid-template-columns: 1fr;
        background-size: 300%;
    }
    .team-intro .team-members,
    .team-rents .team-members{
        grid-template-columns: minmax(220px, 300px);
        max-width: 360px;
        padding: 0 16px;
        justify-content: center;
        justify-items: center;
        align-items: center;
    }
    .profile-image img{
        height: 240px;
    }
    .features,.services{
        grid-template-columns: 1fr;
    }
    .showcases .case-item{
        width: calc(100vw/2);
        height: 30vw;
    }
}

@media(max-width:576px){
    .slide-caption h1{
        font-size: 28px;
    }
    .slide-caption h3{
        font-size: 14px;
    }
    .explore-btn{
        font-size: 14px;
        padding: 8px 18px;
    }
    .showcases .case-item{
        width: 100vw;
        height: 60vw;
    }
    .footer-menus{
        grid-template-columns: 1fr;
        row-gap: 20px;
    }
    .footer-menu{
        justify-self: start;
        text-align: left;
    }
    .team-intro .team-members,
    .team-rents .team-members{
        grid-template-columns: 1fr;
        max-width: 320px;
        padding: 0 20px;
        justify-content: center;
        justify-items: center;
        align-items: center;
    }
    .profile-image img{
        height: 220px;
    }
}

/* 移动端触摸友好优化 */
@media (max-width: 768px) {
    /* 触摸友好的最小点击区域 */
    .filter-btn,
    .explore-btn,
    .read-more-btn,
    button,
    a {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* 移动端友好的间距 */
    section {
        padding: 0 20px;
    }
    
    /* 优化移动端导航触摸区域 */
    header nav a {
        padding: 12px 16px;
        display: block;
    }
    
    /* 移动端优化轮播控制按钮大小 */
    .glide__arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* 移动端优化汉堡菜单 */
    .burger {
        padding: 10px;
        margin: -10px;
    }
    
    /* 移动端优化页脚链接 */
    .menu-items li a {
        padding: 10px 0;
        display: block;
    }
    
    /* 移动端优化返回顶部按钮位置 */
    .scrollToTop a {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    /* 移动端优化查看更多按钮 */
    .show-more-btn {
        width: 90%;
        max-width: 300px;
        padding: 14px 24px;
    }
}

/* 平板设备优化 */
@media (min-width: 769px) and (max-width: 1024px) {
    /* 优化内容区域宽度 */
    section {
        max-width: 90%;
    }
    
    /* 优化网格布局 */
    .team-members {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 优化服务项布局 */
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 优化特性布局 */
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 大屏幕优化 */
@media (min-width: 1400px) {
    /* 限制最大宽度 */
    section {
        max-width: 1200px;
    }
    
    /* 优化轮播标题大小 */
    .slide-caption h1 {
        font-size: 64px;
    }
    
    .slide-caption h3 {
        font-size: 28px;
    }
    
    /* 优化卡片大小 */
    .showcases .case-item {
        width: calc(100vw / 5);
    }
}

/* 移动端手势支持 */
@media (hover: none) and (pointer: coarse) {
    /* 触摸设备上的hover效果改为active效果 */
    .team-member:hover,
    .activity:hover,
    .service-item:hover {
        transform: none;
    }
    
    .team-member:active,
    .activity:active,
    .service-item:active {
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* 触摸设备禁用图片缩放 */
    .case-item img {
        touch-action: manipulation;
    }
    
    /* 触摸设备优化滚动 */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
}

/* 减少动画（无障碍） */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 深色模式支持（可选） */
@media (prefers-color-scheme: dark) {
    /* 如果需要支持深色模式，可以在这里添加样式 */
    /* 目前网站采用浅色主题，此部分保留为扩展使用 */
}

/* 高对比度模式支持（无障碍） */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #ff0000;
        --text-color-dark: #000000;
        --text-color-gray: #333333;
        --text-color-lightest: #ffffff;
        --backdrop-color: rgba(0, 0, 0, 0.9);
    }
    
    /* 增加边框和轮廓 */
    .team-member,
    .activity,
    .service-item,
    .feature {
        border: 2px solid var(--text-color-dark);
    }
    
    /* 移除阴影 */
    .team-member,
    .activity,
    .service-item {
        box-shadow: none;
    }
}
