@charset "utf-8";

/* Global Reset & Base */
body, html {
    font-family: "PingFang SC", "Microsoft YaHei", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #333;
    background-color: #fff;
    scroll-behavior: smooth;

}

a { text-decoration: none; transition: all .3s; }
a:hover { color: #1E9FFF; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: transparent; /* 默认透明 */
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.05); */
    z-index: 1000;
    transition: all .3s;
}

/* 滚动后显示的样式�?*/
.header.scrolled,
.header-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.header .logo {
    height: 70px;
    line-height: 70px;
    font-size: 24px;
    font-weight: bold;
    color: #fff; /* 默认白色 */
    float: left;
    display: flex; /* 使用Flex布局实现垂直居中 */
    align-items: center;
}

/* 滚动后Logo文字变蓝（或保持白色，取决于设计，这里按原逻辑变色�?*/
.header.scrolled .logo,
.header-scrolled .logo {
    color: #1a1a1a !important;
}

.header-scrolled .logo a,
.header-scrolled .logo span {
    color: #333 !important;
}

.header .logo a {
    color: inherit; /* 继承父级颜色 */
    display: flex;
    align-items: center;
}

.header .logo img { 
    height: 40px; 
    margin-right: 10px; /* 图片与文字间�?*/
}

.header .nav {
    float: right;
    height: 70px;
    /* line-height: 70px;  移除父级行高，改用flex布局垂直居中 */
    display: flex;
    align-items: center;
}

.header .nav ul {
    display: flex;
    align-items: center;
}

.header .nav li {
    display: inline-block;
    margin: 0 5px; /* 进一步减小LI间距 */
    position: relative;
    height: auto; /* 重置高度 */
    line-height: normal; /* 重置行高 */
    /* 移除 LI 上的圆角和过渡，移交�?A 标签 */
}

/* 移除 LI 的悬停背景效�?*/
.header .nav li:hover {
    background: none;
}
.header.scrolled .nav li:hover {
    background: none;
}

.header .nav li a {
    font-size: 16px;
    color: #fff; /* 默认白色字体，适应深色Banner */
    display: inline-block; /* 改为 inline-block 以适应内容宽度 */
    padding: 0 6px; /* 移除内边距，交给span */
    transition: all .3s;
}

.header .nav li a span {
    display: inline-block;
    padding: 2px 16px; /* 调整内边�?*/
    border-radius: 10px;
    transition: all .3s;
    line-height: 1.5; /* 设置合理的行�?*/
}

/* A 标签悬停背景效果（仿影刀�?*/
.header .nav li a:hover {
    background: none; /* 移除A标签背景 */
}

/* 将悬停背景加�?span �?*/
.header .nav li a:hover span {
    background: rgba(255, 255, 255, 0.1);
}
.header.scrolled .nav li a:hover span {
    background: #f5f5f5;
}

/* 滚动后导航字体变�?*/
.header.scrolled .nav li a,
.header-scrolled .nav li a {
    color: #333 !important;
}

.header-scrolled .nav li a span {
    color: #333 !important;
}

.header-scrolled .nav-btn-user,
.header-scrolled .nav-btn-user span {
    color: #333 !important;
}

/* 排除登录按钮的字体颜色（保持白色�?*/
.header.scrolled .nav li a.nav-btn {
    color: #fff;
}

/* 激活状�?*/
.header .nav li.active a {
    background: none;
}
.header .nav li.active a span {
    background: rgba(255, 255, 255, 0.1);
}
.header.scrolled .nav li.active a,
.header-scrolled .nav li.active a {
    background: none !important;
}
.header.scrolled .nav li.active a span,
.header-scrolled .nav li.active a span {
    background: rgba(236, 237, 239, 0.8) !important;
    color: #333 !important;
}

/* 下拉菜单样式 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 320px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 1001;
}

/* 下拉菜单箭头 */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    margin-left: -6px;
    border-width: 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent #fff;
}

/* 鼠标悬停显示下拉 */
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 下拉项样�?*/
.dropdown-item {
    display: flex !important; /* 覆盖默认block */
    align-items: center;
    padding: 15px !important;
    border-radius: 6px;
    color: #333 !important; /* 强制黑色字体 */
    text-align: left;
}

.dropdown-item:hover {
    background: #f9f9f9;
}

.dropdown-item i {
    font-size: 24px;
    margin-right: 15px;
}

.dropdown-item .item-info {
    display: flex;
    flex-direction: column;
}

.dropdown-item .item-info strong {
    font-size: 15px;
    margin-bottom: 4px;
    color: #333;
}

.dropdown-item .item-info span {
    font-size: 12px;
    color: #999;
    display: block;
    margin-left: 0;
    padding-left: 0;
}

.header .nav-btn {
    display: inline-block;
    padding: 0 20px;
    height: 28px;
    line-height: 28px;
    background: #1E9FFF;
    color: #fff !important;
    border-radius: 30px;
    margin-left: 30px;
    font-size: 16px !important;
}
.header .nav-btn span {
    padding: 0 3px;
}

.header .nav-btn:hover {
    background: #16b7ff !important;
    color: #fff !important;
}
.header .nav-btn-user {
    background: none !important;
    color: #fff !important;
    padding: 0 3px!important;
}
.header .nav-btn-user:hover {
    background: none !important;
}
.header .nav-btn-user span {
   font-size: 14px!important;
   /* padding: 0 3px!important;  移除强制内边距，使其与通用菜单保持一�?*/
}
.header.scrolled .nav-btn-user,
.header-scrolled .nav-btn-user {  
    color: #333 !important;
}

/* header-scrolled 下悬停效果 */
.header-scrolled .nav li a:hover span {
    background: #f5f5f5 !important;
}

.header .nav-free-down {
    background: #ffffff !important;
    color: #333 !important;
    margin-left: 0px!important;
}
.header .nav-free-down:hover {
    background: #bdc3c7 !important;
    color: #333 !important;
}
.header .nav-free-down span {
   padding:0px 5px!important;
   font-size: 14px!important;
}
/*  滚动�?*/
.header.scrolled .nav .nav-free-down,
.header-scrolled .nav .nav-free-down {
    background: #121212 !important;
    color: #ffffff !important;
}
.header.scrolled .nav .nav-free-down:hover,
.header-scrolled .nav .nav-free-down:hover {
    background: #333 !important;
    color: #ffffff !important;
}
.header.scrolled .nav li a.nav-free-down:hover span,
.header-scrolled .nav li a.nav-free-down:hover span {
    background: transparent !important;
    color: #fff !important;
}

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

.user-dropdown .nav-btn-user {
    margin-left: 0;
}

.user-dropdown .dropdown-menu.user-menu {
    width: 140px;
    padding: 5px 0;
}

.user-dropdown .dropdown-menu.user-menu .dropdown-item {
    padding: 10px 15px !important;
    font-size: 14px;
    color: #333 !important;
}

.user-dropdown .dropdown-menu.user-menu .dropdown-item:hover {
    background: #f5f5f5;
    color: #1E9FFF !important;
}

.user-dropdown .dropdown-menu.user-menu .dropdown-item i {
    font-size: 14px;
    color: #999;
}

.user-dropdown .dropdown-menu.user-menu .dropdown-item:hover i {
    color: #1E9FFF;
}

/* 用户名长度限制 */
.username-text {
    display: inline-block;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

/* 去掉用户名下拉按钮悬停时的重复背景色 */
.user-dropdown .nav-btn-user:hover span,
.user-dropdown .nav-btn-user span {
    background: none !important;
}

/* Banner Section */
.layui-carousel[lay-filter="home-banner"] {
    background-color: #000;
    background-image: url('/static/images/home_banner_bg.jpg');
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    margin-top: 0; /* 移除顶部偏移，让Banner延伸到Header下方 */
    height: 680px !important; /* 调整高度 */
}

.banner-slide {
    position: relative;
    height: 100%;
    width: 100%;
    background-image: url('https://winrobot-pub-a-oss.yingdao.com/static/xybot-front-homepage-v3/online/267/static/cases_banner.2a0f5f5c.jpg');
    background-size: cover;
    background-position: center top; /* 图片顶部对齐 */
    background-repeat: no-repeat;
    display: flex !important; /* Force flex display for centering */
    align-items: center;
    justify-content: center;
    color: #fff;
    padding-top: 70px; /* 增加内边距，避免内容被Header遮挡 */
    box-sizing: border-box;
}

/* Ensure Layui carousel items are visible */
/* Hide Layui carousel default loading icon */
.layui-carousel > [carousel-item]:before {
    display: none !important;
    content: '' !important;
}

.layui-carousel > [carousel-item] > *:not(.layui-this) {
    display: none !important;
}

.layui-carousel > [carousel-item] > .layui-this,
.layui-carousel > [carousel-item] > .layui-carousel-prev,
.layui-carousel > [carousel-item] > .layui-carousel-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Overlay for text readability */
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 15px;
}

.banner-content h1 {
    font-size: 58px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.banner-content p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.banner-btns {
    margin-top: 40px;
}

.cta-btn.primary {
    background: #1E9FFF;
    color: #fff;
    margin: 0 10px;
}
.cta-btn.primary:hover {
    background: #16b7ff;
}

.cta-btn.outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    margin: 0 10px;
    padding: 10px 38px; /* Compensate border width */
}
.cta-btn.outline:hover {
    background: rgba(255,255,255,0.1);
}

/* 覆盖Layui Carousel默认样式 */
.layui-carousel > [carousel-item] > * {
    background: none;
}
.layui-carousel-ind ul {
    background: none;
}
.layui-carousel-ind li {
    background-color: rgba(255,255,255,0.3);
}
.layui-carousel-ind li.layui-this {
    background-color: #fff;
}

/* Section Common */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 16px;
    color: #666;
}

/* Best Practice Section */
.practice-section {
    background-color: #f9f9f9;
}

.practice-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform .3s;
    height: 100%;
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.practice-img {
    height: 200px;
    background-color: #eee;
    overflow: hidden;
}
.practice-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.practice-card:hover .practice-img img {
    transform: scale(1.05);
}

.practice-info {
    padding: 25px;
}

.practice-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.practice-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    height: 44px; /* Limit 2 lines */
    overflow: hidden;
}

.practice-tags span {
    display: inline-block;
    padding: 2px 8px;
    background: #f0f8ff;
    color: #1E9FFF;
    font-size: 12px;
    border-radius: 4px;
    margin-right: 5px;
}

/* Case Categories */
#cases .layui-tab {
    margin: 0;
    border: none !important;
}

#cases .layui-tab-title,
#cases .layui-tab-content {
    border-top: none !important;
    border-bottom: none !important;
}

#cases .layui-tab .layui-tab-title {
    text-align: center;
    border: none !important;
    border-bottom: none !important;
    margin-bottom: 30px;
    position: relative;
}

#cases .layui-tab .layui-tab-title:before,
#cases .layui-tab .layui-tab-title:after {
    display: none !important;
    content: none !important;
}

#cases .layui-tab-title li {
    display: inline-block;
    padding: 8px 25px;
    margin: 0 5px;
    border-radius: 20px;
    color: #666;
    transition: all .3s;
    font-size: 16px;
    border: none;
    line-height: 1.5;
}

#cases .layui-tab-title li.layui-this,
#cases .layui-tab-title li:hover {
    background: #1E9FFF;
    color: #fff;
}

#cases .layui-tab-title li.layui-this:after {
    display: none;
}

#cases .layui-tab-bar {
    display: none;
}

#cases .layui-tab-content {
    padding: 0;
    min-height: 300px;
    border: none !important;
}

#cases .layui-tab .layui-tab-item {
    border: none !important;
}

.case-grid .layui-col-md3 {
    margin-bottom: 30px;
}

.case-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0 0 20px 0;
    text-align: center;
    transition: all .3s;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.case-item:hover {
    border-color: #1E9FFF;
    box-shadow: 0 5px 20px rgba(30, 159, 255, 0.1);
}

.case-logo {
    width: 100%;
    height: 150px;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 8px 8px 0 0;
}
.case-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-desc {
    padding: 0 15px;
}

.case-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    height: 38px;
    overflow: hidden;
}

.case-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 159, 255, 0.95);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 8px;
    overflow: hidden;
}

.case-item:hover .case-hover {
    opacity: 1;
}

.case-hover h4 { font-size: 18px; margin-bottom: 10px; font-weight: bold; }
.case-hover p { font-size: 13px; margin-bottom: 15px; }
.case-hover .btn {
    border: 1px solid #fff;   
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
    margin-top: 5px;
    line-height: 1.5;
    cursor: pointer;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1E9FFF 0%, #16b7ff 100%);
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    padding: 12px 40px;
    background: #fff;
    color: #1E9FFF;
    font-size: 18px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Form Section */
.form-section {
    background: #fff;
}

.form-box {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

/* Footer */
.footer {
    background: #2e2e2e;;
    color: #bdc3c7;
    padding: 60px 0 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.footer-desc {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-contact p {
    margin-bottom: 10px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #bdc3c7;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #fff;
}

.footer-qrcode {
    text-align: left;
    padding-top: 10px;
}

.footer-qrcode img {
    width: 100px;
    height: 100px;  
    margin-bottom: 10px;
}

.footer-qrcode p {
    font-size: 12px;
    color: #bdc3c7;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bdc3c7;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}
.footer-bottom a {
    color: #bdc3c7;
}
.footer-bottom a:hover {
    color: #fff;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    /* 移动端头部样�?*/
    .header { height: 60px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
    .header .logo { height: 60px; line-height: 60px; color: #333; }
    .header .logo img { height: 30px; }
    
    /* 移动端菜单按�?*/
    .mobile-nav-btn {
        display: block !important;
        float: right;
        height: 60px;
        line-height: 60px;
        color: #333;
        font-size: 24px;
        cursor: pointer;
    }
    
    /* 移动端导航菜�?*/
    .header .nav { 
        display: none; 
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        float: none;
        height: auto;
        padding: 10px 0; /* 减小上下内边�?*/
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: center; /* 居中对齐 */
        z-index: 999;
        border-top: 1px solid #f0f0f0;
    }
    
    .header .nav.active { display: flex; animation: slideDown 0.3s ease; }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .header .nav ul {
        display: block;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }
    
    .header .nav li {
        display: block;
        margin: 0;
        width: 100%;
        text-align: center; /* 文字居中 */
        border-bottom: 1px solid #f9f9f9; /* 添加分隔�?*/
    }
    
    .header .nav li:last-child { border-bottom: none; }
    
    .header .nav li a {
        color: #333;
        padding: 15px 0; /* 增加点击区域 */
        display: block;
        font-size: 16px;
    }
    
    .header .nav li a span {
        padding: 0; /* 移除PC端的内边�?*/
    }
    
    /* 移动端激活状�?*/
    .header .nav li.active a {
        color: #1E9FFF;
        background: #f0f8ff; /* 激活背�?*/
        font-weight: bold;
    }
    
    /* 移动端下拉菜单交互调�?*/
    /* 默认隐藏下拉菜单，移�?!important 允许JS控制 */
    .dropdown-menu { 
        display: none; 
        position: static; /* 改为静态定位，挤占下方空间 */
        width: 100%;
        min-width: 100%; /* 确保撑满 */
        box-shadow: none;
        background: #f9f9f9; /* 区分背景�?*/
        padding: 0;
        margin: 0; /* 清除可能存在的边�?*/
        opacity: 1;
        visibility: visible;
        transform: none !important; /* 强制移除位移 */
        left: auto; /* 重置left */
        top: auto; /* 重置top */
        border-radius: 0; /* 移除圆角 */
    }
    
    .dropdown-menu::before { display: none; } /* 隐藏小三�?*/
    
    .has-dropdown > a > span i { display: inline-block !important; } /* 显示下拉箭头 */
    
    /* 移动端下拉项样式 */
    .dropdown-item {
        padding: 12px 20px !important;
        border-bottom: 1px solid #eee;
        display: block !important; /* 强制块级显示，便于居�?*/
        text-align: center; /* 文本居中 */
    }
    
    .dropdown-item i { display: none; } /* 隐藏图标 */
    
    .dropdown-item .item-info span { display: none; } /* 隐藏副标�?*/
    
    .dropdown-item .item-info {
        display: block; /* 改为块级 */
        text-align: center;
    }
    
    .dropdown-item .item-info strong {
        font-size: 14px;
        color: #666;
        font-weight: normal;
        margin: 0;
    }
    
    .dropdown-item:last-child { border-bottom: none; }
    
    /* 激活状态显示下拉菜�?*/
    .has-dropdown.active .dropdown-menu { display: block; }
    .has-dropdown.active > a > span i { transform: rotate(180deg); transition: transform .3s; }
    
    /* Banner调整 */
    .layui-carousel[lay-filter="home-banner"] { height: 400px !important; margin-top: 60px; }
    .banner-slide { padding-top: 0; } /* 移动端移�?padding-top */
    .banner-content h1 { font-size: 36px; line-height: 1.4; margin-bottom: 10px; }
    .banner-content p { font-size: 14px; max-width: 90%; }
    .banner-btns { margin-top: 20px; }
    .cta-btn { padding: 8px 20px; font-size: 14px; }
    
    .section { padding: 40px 0; }
    .case-grid .layui-col-md3 { width: 50%; float: left; padding: 0 5px; }
    .form-box { padding: 20px; }
    
    /* 移动端按钮调�?*/
    .nav-btn-user, .nav-free-down {
        display: block;
        margin: 10px 0 !important;
        text-align: center;
        background: #1E9FFF !important;
        color: #fff !important;
    }
    .nav-free-down { background: #f2f2f2 !important; color: #333 !important; }
}

/* PC端默认隐藏菜单按�?*/
.mobile-nav-btn { display: none; }

/* Common Header Override */
.header-common {
    background: #fff !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05) !important;
}

.header-common .logo {
    color: #333 !important;
}

.header-common .nav li a {
    color: #333 !important;
}

/* Ensure hover state keeps text readable */
.header-common .nav li a:hover span {
    background: #3f3f3f !important;
}

.header-common .nav-btn-user {
    color: #333 !important;
}

/* header-common 下悬停时保持文本深黑色 */
.header-common .nav li a.nav-btn-user:hover span,
.header-common .nav li a.nav-btn-user span {
    color: #333 !important;
}

/* Customize Free Download button in header if needed */
.header-common .nav-free-down {
    background: #444 !important;
    color: #fff !important;
}
.header-common .nav-free-down span {
    color: #fff !important;
}
.header-common .nav-free-down:hover {
    background: #333 !important;
}
.header-common .nav-free-down:hover span {
    background: transparent !important;
    color: #ff0000 !important;
}

/* Download Page Styles */
body {
    background-color: #fff;
}

.download-container {
    padding-top: 100px; /* Space for fixed header */
    padding-bottom: 80px;
    text-align: center;
}

/* Hero Image */
.download-hero-image {
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.download-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    /* optional shadow */
    /* box-shadow: 0 20px 60px rgba(0,0,0,0.1); */ 
}

/* Hero Content */
.download-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.download-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.download-hero-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #86868b;
    margin-bottom: 50px;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1d1d1f; /* Apple Black */
    color: #fff;
    font-size: 17px;
    padding: 14px 30px;
    border-radius: 980px; /* Pill shape */
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 200px;
}

.btn-download i {
    font-size: 20px;
    margin-right: 8px;
}

.btn-download:hover {
    background-color: #333;
    transform: scale(1.02);
    color: #fff;
}

/* Extra Link */
.download-extra {
    margin-top: 20px;
}

.download-extra a {
    color: #06c;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.download-extra a:hover {
    text-decoration: underline;
}

.download-extra i {
    font-size: 12px;
    margin-left: 4px;
}


/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .download-container {
        padding-top: 80px;
    }
    
    .download-hero-content h1 {
        font-size: 32px;
    }
    
    .download-hero-content p {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-download {
        width: 80%;
        max-width: 300px;
    }
}


/* Global Reset for About Page */
body {
    background-color: #fff;
    color: #333;
    font-family: "PingFang SC", "Microsoft YaHei", Helvetica, Arial, sans-serif;
}

/* Header Override (Similar to Download Page) */
.header-common {
    background: #fff !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05) !important;
}

.header-common .logo {
    color: #333 !important;
}

.header-common .nav li a {
    color: #333 !important;
}

/* Ensure hover state keeps text readable */
.header-common .nav li a:hover span {
    background: #f5f5f5 !important;
}

.header-common .nav-btn-user {
    color: #333 !important;
}

/* header-common 下悬停时保持文本深黑色 */
.header-common .nav li a.nav-btn-user:hover span,
.header-common .nav li a.nav-btn-user span {
    color: #333 !important;
}

/* Customize Free Download button in header if needed */
.header.header-common .nav-free-down {
    background: #555 !important;
    color: #fff !important;
}
.header.header-common .nav-free-down span {
    color: #fff !important;
}
.header.header-common .nav-free-down:hover {
    background: #444 !important;
}
.header.header-common .nav-free-down:hover span {
    background: transparent !important;
    color: #fff !important;
}

/* Hero Section */
.about-hero {
    padding-top: 180px;
    padding-bottom: 160px;
    text-align: center;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: visible;
}

/* 幻彩背景效果 */
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/static/images/about_bg1.png') center center / cover no-repeat;
    opacity: 0.6;
}

/* 渐变光晕效果 */
.about-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.about-hero .layui-container {
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.about-hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Section Common */
.about-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 16px;
    color: #666;
}

/* Values Section */
.values-section {
    background: transparent;
    padding-bottom: 80px;
    margin-top: -160px;
    position: relative;
    z-index: 10;
}

.value-card {
    text-align: left;
    padding: 50px 40px;
    background: #fff;
    border-radius: 20px;
    transition: all .3s;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.8);
}

.value-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    text-align: center;
    margin-bottom: 30px;
    border: 2px solid #007aff; /* Blue border */
    color: #007aff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-wrapper i {
    font-size: 28px;
}

.card-icon-wrapper.icon-orange {
    border-color: #ff6b00;
    color: #ff6b00;
}

.card-icon-wrapper.icon-green {
    border-color: #34c759;
    color: #34c759;
}

.value-card h3 {
    font-size: 32px; /* Larger title */
    font-weight: 700;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.value-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    text-align: left;
}

/* Philosophy Section */
.philosophy-section {
    background: #f9f9fa;
}

.align-center {
    display: flex;
    align-items: center;
}

.philosophy-content {
    padding-right: 40px;
}

.philosophy-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
}

.philosophy-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 4px;
    background: #1E9FFF;
    border-radius: 2px;
}

.philosophy-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.philosophy-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* History Section */
.history-section {
    background: #fff;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #eee;
    margin-left: -1px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px;
    box-sizing: border-box;
    margin-bottom: 60px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 0;
    width: 16px;
    height: 16px;
    background: #1E9FFF;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px #1E9FFF;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content .date {
    font-size: 18px;
    font-weight: 700;
    color: #1E9FFF;
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: #1E9FFF;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.contact-box h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.contact-items {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.contact-item {
    font-size: 24px;
    display: flex;
    align-items: center;
}

.contact-item i {
    font-size: 30px;
    margin-right: 15px;
}

/* Scroll Animation - Helper class to hide elements before animation */
.scroll-anim {
    opacity: 0;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .about-hero{padding-top: 120px; padding-bottom: 120px;}
    .about-hero h1 { font-size: 36px; }
    .about-hero p { font-size: 16px; padding: 0 20px; }
    .about-hero::after {
        width: 300px;
        height: 300px;
        bottom: -50px;
        right: -50px;
    }
    .values-section {
        margin-top: -80px;
    }
    
    .about-section { padding: 60px 0; }
    
    /* Mobile Value Cards Adjustments */
    .value-card { 
        margin-bottom: 20px; 
        padding: 30px 24px; /* Reduced padding */
    }
    .card-icon-wrapper {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 24px;
        margin-bottom: 20px;
    }
    .card-icon-wrapper i {
        font-size: 24px;
    }
    .value-card h3 {
        font-size: 24px; /* Smaller title */
        margin-bottom: 12px;
    }
    .value-card p {
        font-size: 14px; /* Smaller text */
        line-height: 1.6;
    }
    
    .align-center { flex-direction: column; }
    .reverse-mobile { flex-direction: column-reverse; }
    
    .philosophy-content { padding-right: 0; margin-bottom: 30px; }
    
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; padding-left: 60px; padding-right: 20px; text-align: left !important; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot { left: 10px; right: auto; }
    
    .contact-items { flex-direction: column; gap: 20px; }
}

/* ==================== 登录弹窗样式 ==================== */
.login-modal-container {
    padding: 30px 40px;
    background: #fff;
}
.login-modal-container .login-header {
    text-align: center;
    margin-bottom: 25px;
}
.login-modal-container .login-header h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 8px;
}
.login-modal-container .login-header p {
    font-size: 14px;
    color: #999;
}
.login-modal-container .login-form .form-item {
    margin-bottom: 15px;
}
.login-modal-container .layui-input-wrap {
    position: relative;
}
.login-modal-container .layui-input-prefix {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    z-index: 1;
}
.login-modal-container .layui-input-prefix .layui-icon {
    font-size: 18px;
}
.login-modal-container .layui-input-wrap .layui-input {
    width: 100%;
    height: 44px;
    padding-left: 40px;
    padding-right: 10px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}
.login-modal-container .layui-input-wrap .layui-input:focus {
    border-color: #40a9ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}
.login-modal-container .code-row {
    display: flex;
    gap: 10px;
}
.login-modal-container .code-row .layui-input-wrap {
    flex: 1;
}
.login-modal-container .code-btn {
    height: 44px;
    padding: 0 16px;
    border: 1px solid #d9d9d9;
    background: #fff;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
.login-modal-container .code-btn:hover:not(:disabled) {
    border-color: #40a9ff;
    color: #40a9ff;
}
.login-modal-container .code-btn:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}
.login-modal-container .login-btn {
    width: 100%;
    height: 44px;
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}
.login-modal-container .login-btn:hover {
    background: linear-gradient(135deg, #40a9ff 0%, #1890ff 100%);
}
.login-modal-container .login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.login-modal-container .login-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 13px;
}
.login-modal-container .agreement {
    display: flex;
    align-items: center;
    color: #666;
    cursor: pointer;
}
.login-modal-container .agreement input[type="checkbox"] {
    margin-right: 6px;
}
.login-modal-container .agreement a {
    color: #1890ff;
    text-decoration: none;
}
.login-modal-container .agreement a:hover {
    text-decoration: underline;
}
.login-modal-container .forgot-link {
    color: #1890ff;
    text-decoration: none;
}
.login-modal-container .forgot-link:hover {
    text-decoration: underline;
}
.login-modal-container .register-tip {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #999;
}
.login-modal-container .register-tip a {
    color: #1890ff;
    text-decoration: none;
}
.login-modal-container .register-tip a:hover {
    text-decoration: underline;
}
.login-modal-container .error-msg {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 4px;
    padding-left: 40px;
}
