/* 基础样式重置与根字体设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: PingFangSC, PingFang SC;
}

html {
    font-size: 10px; /* 1rem = 10px (基于浏览器默认16px的62.5%) */
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    font-size: 1.6rem; /* 16px */
    padding-top: 7.2rem; /* 根据导航栏高度调整 */
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 7.2rem;
    padding: 0 32rem;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0rem 0.2rem 0.6rem 0rem rgba(0,0,0,0.1);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 4rem;
}


.logo {
    width: 13.23rem;
    height: 4rem;
}

.nav-links {
    display: flex;
    gap: 8rem; /* 25px */
}

.nav-links a {
    text-decoration: none;
    font-weight: 400;
    font-size: 1.8rem;
    color: #121317;
    line-height: 2.5rem;
    text-align: justify;
    font-style: normal;
    position: relative;
    transition: color 0.3s;
}

.nav-links a.active {
    font-weight: 600;
}

.btn.downloading {
  pointer-events: none;
  opacity: 0.7;
}

.hamburger-menu {
    display: none;
    font-size: 2.2rem; /* 22px */
    cursor: pointer;
}

/* 主内容区样式 */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: calc(100vh - 7.2rem);
    padding-top: 5rem;
    padding-bottom: 6rem;
    background-image: url('https://pyresrouce.oss-cn-shenzhen.aliyuncs.com/images/gw/assistant/main@2x0.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-content .content {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-image: url('https://pyresrouce.oss-cn-shenzhen.aliyuncs.com/images/gw/assistant/main@2x4.png'); /* 替换为实际图片URL */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}


.left-section {
    margin-top: 7.8rem;
    margin-right: 4.3rem;
}

.left-section .title {
    font-weight: 600;
    font-size: 5.6rem;
    color: #121317;
    line-height: 7.6rem;
    text-align: justify;
    font-style: normal;
    margin-bottom: 3.9rem;
}

.title span {
    color: #2D65F8;
}


.features {
    list-style: none;
    margin-bottom: 5.4rem;
}

.features li {
    margin-bottom: 2.6rem; 
    font-weight: 400;
    font-size: 2.8rem;
    color: #121317;
    line-height: 4rem;
    text-align: justify;
    font-style: normal;
}

.features li:before {
    content: "";
    display: inline-block;
    width: 3.6rem;
    height: 3.1rem;
    background-image: url("https://pyresrouce.oss-cn-shenzhen.aliyuncs.com/images/gw/assistant/main@2x2.png"); /* 替换为实际图片URL */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 1.6rem;
    vertical-align: middle; /* 与文字垂直居中对齐 */
}

.buttons {
    display: flex;
    gap: 2rem; /* 15px */
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 21.8rem;
    height: 6.8rem;
    background: linear-gradient( 270deg, #2D65F8 0%, #3F9CFD 0%, #2D65F8 51%, #7466FF 100%);
    border-radius: 4rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 2.4rem;
    color: #FFFFFF;
    line-height: 3.3rem;
}

.btn span {
    margin-right: 1rem;
}

.btn img {
    width: 3.2rem;
    height: 3.2rem;
}

.right-section {
    padding-top: 5.5rem;
}

.software-screenshot {
    width: 70.2rem;
    height: 53rem;
}

.line-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    width: 127.6rem;
    height: 2.9rem;
    background-image: url("https://pyresrouce.oss-cn-shenzhen.aliyuncs.com/images/gw/assistant/line@2x.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.line-content span {
    font-weight: 400;
    font-size: 1.6rem;
    color: #121317;
    line-height: 2.2rem;
}

.line-content img {
    width: 1.6rem;
    height: 2.9rem;
}


/* 价格计划板块样式 */
.pricing-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding-bottom: 6rem;
}

.pricing-section h2 {
    font-weight: 600;
    font-size: 4.4rem;
    color: #121317;
    line-height: 6.2rem;
    margin-bottom: 1.6rem;
}

.search-container {
    position: relative;
}

.search-item {
    position: absolute;
    z-index: 99;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0rem 0.4rem 1.6rem 0rem rgba(88,93,107,0.17);
    border-radius: 2rem;
}

.search-item .search-item-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 3rem;
    border-bottom: 1px solid #e4e4e5;
}

.search-item .search-item-content:last-child {
    border-bottom: none;
}

.search-item .search-item-content .search-item-title {
    font-weight: 400;
    font-size: 1.4rem;
    color: #121317;
}

.search-item .search-item-content .search-item-icon {
    flex-shrink: 0;
}

.search-item .search-item-content .search-item-icon .vip {
    width: 2rem;
    height: 2rem;
    margin-right: 0.4rem;
    vertical-align: sub;
}

.search-item .search-item-content .search-item-icon .is {
    width: 1.4rem;
    height: 1.4rem;
    margin-right: 1rem;
    vertical-align: middle;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 50rem;
    height: 5.6rem;
    border-radius: 2.8rem;
    border: 0.1rem solid #2D65F8;
    padding: 1.4rem 5rem 1.4rem 3rem;

    font-weight: 400;
    font-size: 2rem;
    color: #9B9B9D;
    line-height: 2.8rem;
}

.search-box input:focus {
    outline: none;
}

.search-btn {
    position: absolute;
    right: 0;

    width: 10.3rem;
    height: 5.6rem;
    border: unset;
    background: #2D65F8;
    border-radius: 2.8rem;
    cursor: pointer;

    font-weight: 600;
    font-size: 2rem;
    color: #FFFFFF;
    line-height: 2.8rem;
}

.news {
    margin: 2rem 0;
    font-weight: 400;
    font-size: 1.8rem;
    color: #121317;
    line-height: 2.5rem;
}

.news img {
    width: 2.4rem;
    height: 2.4rem;
    margin-right: 0.8rem;
    vertical-align: bottom;
}

.table-container {
    position: relative;
}

.pricing-table-app {
    display: none;
}

.pricing-table {
    width: 120rem;
    border-collapse: collapse;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.6rem;
}

.pricing-table thead {
    background: linear-gradient( 90deg, #F9FAFB 0%, #F9FAFB 50%, #FFF9E9 100%);
    height: 7rem;

    font-weight: 600;
    font-size: 2rem;
    color: #121317;
    line-height: 2.8rem;
}

.pricing-table thead .vip {
    width: 3.2rem;
    height: 3.2rem;
    margin-right: 0.4rem;
    vertical-align: bottom;
}

.pricing-table thead span {
    color: #FF7223;
    margin: 0 0.4rem 0 0.5rem;
}

.pricing-table thead .live-content {
   position: relative;
   width: fit-content;
   margin: 0 auto;
}

.pricing-table thead .live {
   position: absolute;
   width: 5.2rem;
   height: 5.2rem;
   top: -4rem;
   right: -2.2rem;
}

.pricing-table tbody tr {
    height: 6rem;
    border-bottom: 0.1rem solid #E4E4E5;;
}

.pricing-table tbody tr td {
    font-weight: 400;
    font-size: 1.6rem;
    color: #121317;
    line-height: 2.2rem;
    text-align: center;
}

.pricing-table tbody tr td .hot {
    width: 2rem;
    height: 2rem;
    margin-right: 0.45rem;
    vertical-align: bottom;
}

.pricing-table tbody tr td .is {
    width: 1.4rem;
    height: 1.4rem;
    margin-left: 0.4rem;
    vertical-align: middle;
}

.pricing-table tbody tr td span:first-child {
    margin-right: 2rem;
}

.table-mask {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 20rem;
    background: linear-gradient( 180deg, rgba(255,255,255,0) 0%, #FFFFFF 100%);
}

.mask-content {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    cursor: pointer;
}

.mask-content span {
    font-weight: 400;
    font-size: 1.6rem;
    color: #121317;
    line-height: 2.2rem;
    margin-right: 0.8rem;
}

.mask-content img {
    width: 1.4rem;
    height: 1.4rem;
}

/* 关于我们板块样式 */
.about-section {
    width: 100%;
    height: 61rem;
    background-image: url("https://pyresrouce.oss-cn-shenzhen.aliyuncs.com/images/gw/assistant/about@2x2.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
}

.about-section h2 {
    font-weight: 600;
    font-size: 4.4rem;
    color: #121317;
    line-height: 6.2rem;
    margin-top: 4.9rem;
}

.about-content {
    display: flex;
    align-items: end;
    justify-content: center;
}

.about-text {
    width: 60.6rem;
    font-weight: 400;
    font-size: 2.2rem;
    color: #121317;
    line-height: 4.2rem;
    text-align: left;
    margin-right: 4rem;
}

.about-text p:first-child {
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 3.4rem;
    margin-top: 3.2rem;
}

.social-links img:first-child {
    width: 25.6rem;
    height: 14.2rem;
}

.social-links img:last-child {
    width: 31.6rem;
    height: 14.2rem;
    cursor: pointer;
}

.about-image img {
    width: 55.4rem;
    height: 43.3rem;
}

/* 底部导航样式 */
.left-app {
    display: none;
}

.footer-content {
    display: flex;
    height: 28.8rem;
    background: #1F2329;
    padding: 4rem 39.2rem 0 39.6rem;
}

.left {
    display: flex;
    flex-direction: column;
}

.img {
    width: 13.23rem;
    height: 4rem;
    margin-bottom: 2.8rem;
}

.img1 {
    width: 24.3rem;
    height: 11.2rem;
}

.middle {
    margin-left: 40.7rem;
}

.right {
    margin-left: 20.4rem;
}

.middle ul, .right ul {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.middle ul li, .right ul li {
    list-style: none;
    font-weight: 400;
    font-size: 1.4rem;
    color: rgba(255,255,255,0.6);
    line-height: 2rem;
}

.middle ul li:first-child, .right ul li:first-child {
    font-weight: 600;
    font-size: 1.6rem;
    color: #FFFFFF;
    line-height: 2.2rem;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   系统提示弹窗样式
   ============================================ */
.system-alert-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.system-alert-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.system-alert-modal {
    background: #FFFFFF;
    border-radius: 2rem;
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.15);
    max-width: 48rem;
    width: 90%;
    margin: 2rem;
    animation: slideIn 0.3s ease-out;
}

.system-alert-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.4rem 3rem 0;
}

.alert-logo {
    width: 10rem;
    height: 3rem;
}

.alert-close-btn {
    background: none;
    border: none;
    font-size: 2.4rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.alert-close-btn:hover {
    background: #f5f5f5;
    color: #666;
}

.system-alert-content {
    padding: 2rem 3rem;
    text-align: center;
}

.alert-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.alert-title {
    font-weight: 600;
    font-size: 2.2rem;
    color: #121317;
    line-height: 3rem;
    margin-bottom: 2rem;
}

.alert-message {
    text-align: left;
}

.alert-message p {
    font-size: 1.6rem;
    line-height: 2.4rem;
    margin-bottom: 1.2rem;
    color: #666;
}

.alert-system {
    font-weight: 500;
}

.system-name {
    color: #2D65F8;
    font-weight: 600;
}

.alert-support strong {
    color: #FF7223;
    font-weight: 600;
}

.alert-guide {
    color: #888;
    font-style: italic;
}

.system-alert-footer {
    padding: 0 3rem 3rem;
    display: flex;
    justify-content: center;
}

.alert-btn {
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 2.4rem;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 12rem;
}

.alert-btn-primary {
    background: linear-gradient(270deg, #2D65F8 0%, #3F9CFD 0%, #2D65F8 51%, #7466FF 100%);
    color: #FFFFFF;
}

.alert-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.8rem 2rem rgba(45, 101, 248, 0.3);
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-2rem) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================
移动端媒体查询样式 (Mobile: 320px - 768px)
============================================ */
@media screen and (max-width: 768px) {

    /* 根字号缩小，便于 rem 缩放 */
    html {
        font-size: 10px;   /* 1rem ≈ 8px */
    }

    body {
        padding-top: 0rem;
        overflow-x: hidden;
    }

    /* 1. 导航栏移动端 */
    .navbar {
        position: sticky;
        height: 6rem;
        padding: 0rem;
        box-shadow: 0rem 0.2rem 0.6rem 0rem rgba(45,101,248,0.1);
    }

    .navbar-content {
        position: relative;
        padding: 0rem;
    }

    .logo {
        width: 9.5rem;
        height: 2.8rem;
        margin-left: 2rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 3.9rem;
        left: 0rem;
        right: 0rem;
        flex-direction: column;
        gap: 0rem;
        background: #FFFFFF;
        box-shadow: 0rem 0.2rem 0.6rem 0rem rgba(45,101,248,0.1);
        z-index: 999;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    /* 移动端菜单遮罩 */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 998;
    }
    
    .mobile-menu-overlay.show {
        display: block;
    }

    .nav-links a {
        display: block;
        height: 6rem;
        padding: 1.9rem 2rem;
        font-size: 1.6rem;
    }

    .hamburger-menu {
        display: block;
        margin-right: 2rem;
        font-size: 2.4rem;
        cursor: pointer;
        color: #121317;
        user-select: none;
        width: 3rem;
        height: 3rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 2. 主区域 */
    .main-content {
        height: auto;
        padding-bottom: 2.5rem;
    }

    .main-content .content {
        flex-direction: column;
        align-items: center;
        background: none;
    }

    .line-content {
        display: none;
    }

    .left-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 0 4rem;
    }

    .left-section .title {
        font-size: 3.2rem;
        line-height: 4.4rem;
        margin-bottom: 2rem;
        width: fit-content;
    }

    .features {
        margin-bottom: 2rem;
        width: fit-content;
    }

    .features li {
        font-size: 1.44rem;
        line-height: 2rem;
        margin-bottom: 1rem;
    }

    .features li::before {
        width: 2rem;
        height: 1.8rem;
        margin-right: 0.8rem;
    }

    .buttons {
        gap: 1.6rem;
    }

    .btn {
        width: 100%;
        width: 12.8rem;
        height: 4rem;
        font-size: 1.4rem;
        margin-right: 0.6rem;
    }

    .btn img {
        width: 1.8rem;
        height: 1.8rem;
    }

    .right-section {
        padding-top: 0;
        width: 100%;
        text-align: center;
        background-image: url("https://pyresrouce.oss-cn-shenzhen.aliyuncs.com/images/gw/assistant/main@2x4.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .software-screenshot {
        width: 100%;
        height: auto;
        max-width: 28rem;
    }

    /* 3. 价格区 */
    .pricing-section {
        padding-bottom: 1.1rem;
    }

    .pricing-section h2 {
        font-size: 2rem;
        line-height: 2.8rem;
        margin-bottom: 1.6rem;
    }

    .search-container {
        width: 100%;
        padding: 0 2rem;
    }

    .search-box input {
        width: 100%;
        height: 4rem;
        font-size: 1.43rem;
        padding: 1rem 7.6rem 1rem 2rem;
    }

    .search-btn {
        width: 7.6rem;
        height: 4rem;
        font-size: 1.4rem;
    }

    /* 移动端搜索结果样式 */
    .search-item {
        /* margin: 1.6rem 2rem 0; */
        width: auto;
        left: 2rem;
        right: 2rem;
    }
    
    .search-item .search-item-content {
        padding: 1.5rem 2rem;
        font-size: 1.4rem;
    }

    .news {
        display: none;
    }

    .pricing-table-app {
        /* width: 100%; */
        display: block;
        margin-top: 1.6rem;
    }

    .pricing-table-app .thead {
        display: flex;
        height: 6rem;
        background: linear-gradient( 90deg, #F9FAFB 0%, #F9FAFB 50%, #FFF9E9 100%);
        position: sticky;
        top: 6rem;
    }

    .pricing-table-app .thead .thead-content {
        flex: 1;
        margin-top: 1.5rem;
        text-align: center;
    }
    
    .pricing-table-app .thead .thead-content div:first-child, .thead-content {
        font-weight: 600;
        font-size: 1.4rem;
        color: #121317;
        line-height: 1.6rem;
    }

    .pricing-table-app .thead .thead-content div:last-child {
        font-weight: 400;
        font-size: 1.2rem;
        color: rgba(18,19,23,0.8);
        line-height: 1.2rem;
        margin-top: 0.4rem;
        margin-left: 1.4rem;
    }


    .pricing-table-app .thead .thead-content .vip {
        width: 1.8rem;
        height: 1.8rem;
        margin-right: 0.4rem;
        vertical-align: bottom;
    }

    .pricing-table-app .tbody-content .tbody-title {
        padding-left: 2rem;
        font-size: 1.2rem;
        font-weight: 400;
        color: #121317;
        line-height: 3.6rem;
        height: 3.6rem;
        background: #F9FAFB;
    }

    .pricing-table-app .tbody-content .tbody-title .hot {
        width: 1.4rem;
        height: 1.4rem;
        margin-right: 0.4rem;
    }

    .pricing-table-app .tbody-content .tbody-body {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pricing-table-app .tbody-content .tbody-body .tbody-item {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 0.8rem;
        padding: 1.6rem 0;
    }

    .pricing-table-app .tbody-content .tbody-body .support, .pricing-table-app .tbody-content .tbody-body .unsupport {
        font-weight: 400;
        font-size: 1.2rem;
        color: #121317;
        line-height: 1.6rem;
    }

    .pricing-table-app .tbody-content .tbody-body .is {
        width: 1.4rem;
        height: 1.4rem;
        margin-left: 0.4rem;
        vertical-align: bottom;
    }

    .pricing-table {
        width: 100%;
        display: none;
    }

    .table-container {
        width: 100%;
        /* overflow-x: auto; */
    }

    .table-mask {
        height: 20rem;
    }

    /* 4. 关于我们 */
    .about-section {
        height: auto;
        padding: 3rem 2rem;
        background-size: cover;
    }

    .about-section h2 {
        font-size: 2.8rem;
        margin-top: 0;
    }

    .about-content {
        flex-direction: column-reverse;
        align-items: center;
        gap: 2rem;
    }

    .about-text {
        width: 100%;
        margin: auto;
        font-weight: 400;
        font-size: 1.4rem;
        color: #121317;
        line-height: 2.6rem;
    }

    .about-image img {
        width: 100%;
        max-width: 34rem;
        height: auto;
    }

    .social-links {
        margin-top: 2rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .social-links img:first-child {
        width: 14.15rem;
        height: 7.8rem;
    }

    .social-links img:last-child {
        width: 17.47rem;
        height: 7.8rem;
    }

    /* 5. 底部 */
    .footer {
        flex-direction: column;
        align-items: center;
    }

    .footer .left-app {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #2A2F37;
        height: 18.3rem;
        width: 100%;
    }

    .footer .left-app .img {
        width: 9.9rem;
        height: 3rem;
    }

    .footer .left-app .img1 {
        width: 18.3rem;
        height: 9.3rem;
    }

    .footer-content {
        display: flex;
        padding: 3rem 2rem;
        justify-content: space-between;
    }

    .footer-content .left {
        display: none;
    }

    .footer-content .middle, .footer-content .right {
        margin: 0;
    }

    /* 移动端弹窗样式调整 */
    .system-alert-modal {
        max-width: none;
        width: calc(100% - 4rem);
        margin: 2rem;
    }

    .system-alert-header {
        padding: 2rem 2rem 0;
    }

    .alert-logo {
        width: 8rem;
        height: 2.4rem;
    }

    .system-alert-content {
        padding: 1.5rem 2rem;
    }

    .alert-title {
        font-size: 1.8rem;
        line-height: 2.4rem;
        margin-bottom: 1.5rem;
    }

    .alert-message p {
        font-size: 1.4rem;
        line-height: 2rem;
    }

    .system-alert-footer {
        padding: 0 2rem 2.5rem;
    }

    .alert-btn {
        padding: 1rem 2.5rem;
        font-size: 1.4rem;
    }
}