/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 移动端核心：确保视口适配，禁止横向滚动 */
html, body {
    height: 100%;
    overflow-x: hidden;
}

#app {
    font-size: 14px;
    height: 100%;
    -webkit-tap-highlight-color: transparent;
    overflow: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background-color: #F9FBFF;
}

/* 头部样式 - 蓝色点缀 + 黑色文字 */
.tota-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(15, 75, 219, 0.06);
    padding-bottom: 1px;
    overflow: visible;
}

.tota-header-content {
    width: 960px;
    height: 64px;
    line-height: 64px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 43px;
    height: 38px;
    vertical-align: middle;
    position: relative;
    top: 0;
}
.logo-text {
    font-family: "PingFang SC";
    font-size: 22px;
    font-weight: 400;
    margin-left: 8px;
    color: #333333; /* 修复原代码错误：多余的#号 */
}

.tota-menu {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.tota-menu-item {
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    color: #333333;
    text-align: center;
    font-family: "PingFang SC";
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.tota-menu-item.active {
    color: #333333;
    font-weight: 500;
    padding: 0px 20px;
    background: transparent;
}

.tota-menu-item.active::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 6px;
    border-bottom: 2px solid #0F4BDB;
    border-radius: 100% 100% 0 0;
}

.tota-menu-item:hover {
    background-color: rgba(15, 75, 219, 0.05);
    color: #333333;
}

/* 横幅样式 - 浅蓝背景 + 黑色文字 + 蓝色按钮 */
.tota-banner {
    height: 690px;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
    padding-top: 64px;
    background: linear-gradient(180deg, #E6F0FF 0%, #F9FBFF 100%);
}

.tota-banner-video {
    display: flex;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 0;
}

.tota-banner-content {
    width: 1180px;
    padding-top: 35px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    z-index: 1;
}

/* 下载按钮：蓝色渐变（核心蓝色元素） */
.tota-banner-btn {
    position: relative;
    width: 412px;
    height: 72px;
    border-radius: 100px;
    background: linear-gradient(90deg, #0F4BDB 0%, #4299e1 100%);
    padding: 16px 32px;
    font-family: PingFang SC;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    justify-content: center;
    letter-spacing: 0px;
    margin: 0 auto;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    flex-direction: row;
    z-index: 9;
    box-shadow: 0 4px 12px rgba(15, 75, 219, 0.2);
    transition: transform 0.2s ease;
}

.tota-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 75, 219, 0.25);
}

.tota-win {
    width : 25px;
    height : 25px;
    margin-right : 5px;
}

/* 内容区域样式 - 核心修改：section增加边框边缘感 + 布局优化 */
.tota-content {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    position: relative;
    background-color: #ffffff;
    margin-top: -20px;
    padding: 20px 0;
}

.tota-content-box {
    width: 1180px;
    margin: 0 auto;
}

/* 核心：每个section增加边框+圆角+独立背景，实现明显边缘感 | 视频布局智能适配 */
.tota-content-item {
    padding: 60px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
    column-gap: 5%;
    row-gap: 40px;
    align-items: start;
    /* section边缘感核心样式 */
    background-color: #4299e108; 
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
}

/* 标题和描述跨列显示 */
.tota-content-title, .tota-content-info {
    grid-column: 1 / -1;
    text-align: center;
}

.tota-content-item-main {
    padding: 10px 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

/* 核心重设计：tota-content-title 字体/间距/样式 */
.tota-content-title {
    height: auto;
    position: relative;
    margin: 0 auto -24px;
    width: fit-content;
    display: flex;
    align-items: center;
}
.title-h1 {
    font-size: 2rem; /* 放大标题字体 */
    font-weight: 600; /* 加粗标题 */
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #333333;
    position: relative;
    padding-bottom: 12px; /* 增加标题下间距 */
}
.title-line {
    position: absolute;
    left: -40px;
    top: 42%;
    transform: translateY(-50%) rotate(-3.67deg);
    width: 32px;
}

/* 核心重设计：tota-content-info 字体/间距/行高 */
.tota-content-info {
    margin: 0 auto 0px; /* 增加与标题/视频的间距 */
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-weight: 400;
    font-size: 20px; /* 放大描述字体 */
    line-height: 1.8; /* 加大行高，提升阅读体验 */
    color: #4e5461;
    max-width: 900px;
}

.tota-content-img {
    width: 960px;
    margin-top: 20px;
    grid-column: 1 / -1;
}

.tota-content-img-main {
    width: 110%;
    margin-top: 0px;
    grid-column: 1 / -1;
}

/* 视频卡片样式 - 精致化 | 多视频标题专属设计 */
.video-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f5f5f5;
}
.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(15, 75, 219, 0.08);
    border-color: #E6F0FF;
}

/* 单个视频居中样式 - 无标题，宽度70%居中 */
.video-card.single-video {
    width: 70%;
    margin: 0 auto;
    grid-column: 1 / -1;
}

/* 核心设计：多视频专属标题 字体/位置/样式 */
.video-title {
    padding: 18px 24px; /* 上下左右间距优化 */
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 20px; /* 标题字体大小 */
    font-weight: 550; /* 字体粗细 */
    color: #333333;
    border-bottom: 1px solid #f8f8f8;
    background-color: #fafafa;
    text-align: left; /* 标题左对齐，符合视觉习惯 */
    /* 标题轻微蓝色点缀，和整体风格统一 */
    border-left: 4px solid #0F4BDB;
}

/* 视频样式 - 精致化，内边距优化 */
.tota-content-video {
    width: 100%;
    height: auto;
    display: block;
    padding: 16px;
    background-color: #f9f9f9;
}

/* 底部样式 - 浅蓝背景 + 深灰文字 */
.tota-footer {
    height: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: PingFang SC;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #4e5461;
    background: #E6F0FF;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    margin-top: 60px;
    grid-column: 1 / -1;
}

.tota-footer-text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center; /* 移动端居中 */
}

.tota-footer-text a {
    color: #0F4BDB;
    text-decoration: none;
}

.tota-footer-text a:hover {
    text-decoration: underline;
    text-underline-color: #0F4BDB;
}

.tota-footer-info {
    height: 16px;
    margin-top: 12px;
    color: #4e5461;
    text-align: center; /* 移动端居中 */
}

/* 功能列表样式 - 黑色文字 + 蓝色点缀 */
.header {
    text-align: center;
    margin-bottom: 0px;
    position: relative;
    grid-column: 1 / -1;
}

.header::after {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 4px;
    background: linear-gradient(90deg, #4299e1, #0F4BDB); 
    border-radius: 2px;
}

.header h1 {
    font-size: 2.3rem;
    font-weight: 530;
    font-family: PingFang SC;
    color: #333333;
}

.header p {
    font-size: 1.1rem;
    color: #4e5461;
    margin-top: 12px;
    line-height: 1.5;
    font-weight: 400;
    font-family: PingFang SC;
    margin-bottom: 20px;
}

.features {
    background: linear-gradient(180deg, #F0F7FF 0%, #ffffff 100%);
    padding: 25px 20px;
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 0px;
    justify-items: start;
    margin-bottom: 30px;
    grid-column: 1 / -1;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(15, 75, 219, 0.05);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    transition: all 0.2s ease;
    border-radius: 8px;
    padding: 8px;
}

.feature-item:hover {
    background-color: rgba(15, 75, 219, 0.05);
    transform: translateY(-1px);
}

.icon {
    width: 0px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 1px;
    box-shadow: 0 2px 4px rgba(15, 75, 219, 0.08);
}

.icon.ring {
    border: 1px solid #0F4BDB;
    background-color: transparent;
}

.feature-text h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
    text-align: left;
}

.feature-text p {
    font-size: 0.9rem;
    color: #4e5461;
    line-height: 1.5;
    text-align: left;
}

/* 图片处理浮窗样式 - 黑色文字 + 蓝色点缀 */
.image-process-popup {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    padding: 6px 0;
    background-color: #ffffff;
    opacity: 1;
    border: 1px solid #E6F0FF;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(15, 75, 219, 0.12);
    z-index: 9999;
    animation: fadeIn 0.2s ease;
    overflow: hidden;
}

.image-process-popup::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: transparent;
}

.popup-menu-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    padding: 0 4px;
}

.popup-menu-item {
    padding: 0px 15px;
    font-size: 14px;
    color: #333333;
    font-family: "PingFang SC";
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    background-color: #ffffff;
    border-radius: 4px;
    margin: 1px 0;
}

.popup-menu-item:hover {
    background-color: rgba(15, 75, 219, 0.08);
    color: #0F4BDB;
    transform: translateX(2px);
}

.popup-menu-item.active {
    color: #0F4BDB;
    font-weight: 600;
    background-color: rgba(15, 75, 219, 0.05);
}

/* 商务合作浮窗 - 黑色文字 + 蓝色点缀 | 核心修改：contact-section 水平垂直完全居中 */
.phone-icon {
    margin-right: 6px;
    font-size: 16px;
    vertical-align: middle;
}

.cooperation-popup {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0%;
    transform: translateX(-50%);
    width: 800px !important;
    padding: 10px !important;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(15, 75, 219, 0.12);
    z-index: 9999;
    gap: 8px !important;
    flex-direction: row;
    animation: fadeIn 0.2s ease;
    border: 1px solid #E6F0FF;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateX(-50%) translateY(10px);}
    to {opacity: 1; transform: translateX(-50%) translateY(0);}
}

.cooperation-popup::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: transparent;
}

.popup-left {
    flex: 0 0 480px !important;
    display: flex;
    flex-direction: column;
    gap: 8px !important;
    padding-right: 8px !important;
    border-right: 1px solid #E6F0FF !important;
}

.popup-section {
    background-color: #F9FBFF;
    padding: 8px !important;
    border-radius: 6px;
    border: 1px solid #E6F0FF;
}

.section-main-title {
    font-size: 17px !important;
    color: #333333;
    font-weight: 700 !important;
    margin: 0 0 15px 0 !important;
    font-family: "PingFang SC";
    text-align: left !important;
    line-height: 1.1 !important;
}

.section-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3px !important;
}

.list-item {
    display: flex;
    align-items: flex-start;
    padding: 2px 0 !important;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    cursor: default;
    text-align: left !important;
}

.list-item:hover {
    background-color: rgba(15, 75, 219, 0.05);
}

.list-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #333333;
    display: block;
    margin: 0 0 10px 0 !important;
    text-align: left !important;
    line-height: 1.1 !important;
}

.list-desc {
    font-size: 12px !important;
    color: #4e5461;
    line-height: 1.1 !important;
    display: block;
    text-align: left !important;
    margin: 0 0 10px 0 !important;
}

/* 核心修改：contact-section 水平+垂直完全居中 | 父容器100%高度，子元素居中 */
.contact-section {
    background-color: #F9FBFF;
    padding: 30px 20px !important;
    border-radius: 6px;
    border: 1px solid #E6F0FF;
    width: 100%;
    /* 居中核心样式：flex布局 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 220px; /* 固定最小高度，保证居中效果 */
}

.contact-main-title {
    font-size: 15px !important;
    color: #333333;
    font-weight: 600 !important;
    margin-bottom: 16px !important; /* 增加与电话的间距 */
    line-height: 1.1 !important;
}

.contact-phone {
    display: block;
    font-size: 18px !important; /* 放大电话字体，突出显示 */
    color: #0F4BDB;
    font-weight: 600 !important;
    margin-bottom: 20px !important; /* 增加与二维码的间距 */
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.1 !important;
}

.contact-phone:hover {
    color: #4299e1;
}

.qrcode-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode-img {
    width: 356px !important; /* 放大二维码，更易扫码 */
    height: 486px !important;
    border: 1px solid #E6F0FF;
    padding: 4px;
    border-radius: 6px;
    background-color: #ffffff;
}

.qrcode-box p {
    font-size: 12px !important;
    color: #4e5461;
    margin-top: 8px !important;
    font-family: "PingFang SC";
    line-height: 1.1 !important;
}

/* 响应式样式 - 全设备适配（核心优化部分） */
@media (max-width: 1200px) {
    .tota-content-box {
        width: 90%;
    }
    .tota-content-item {
        padding: 50px 30px;
    }
    .tota-banner-content {
        width: 90%;
    }
    .tota-content-img {
        width: 100%;
    }
    .tota-content-img-main {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .tota-header-content {
        width: 95%;
    }
    .tota-menu-item {
        padding: 12px 12px;
        font-size: 14px;
    }
    .cooperation-popup {
        width: 90vw !important;
        left: 50% !important;
    }
    .popup-left {
        flex: 0 0 60% !important;
    }
    .qrcode-img {
        width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 768px) {
    /* 基础布局优化 */
    .features {
        grid-template-columns: 1fr;
        gap: 20px 0;
        padding: 20px 15px;
        width: 90%;
    }
    .header h1 {
        font-size: 1.8rem;
    }
    .header p {
        font-size: 1rem;
        padding: 0 10px;
    }
    .tota-header-content {
        width: 100%;
        padding: 0 10px;
        height: 56px;
        line-height: 56px;
    }
    .logo {
        width: 36px;
        height: 32px;
    }
    .logo-text {
        font-size: 18px;
        margin-left: 5px;
    }
    
    /* 导航菜单适配 */
    .tota-menu {
        overflow-x: auto;
        justify-content: flex-start;
        gap: 4px;
        padding: 0 5px;
        scrollbar-width: none;
    }
    .tota-menu::-webkit-scrollbar {
        display: none;
    }
    .tota-menu-item {
        padding: 8px 10px;
        font-size: 13px;
        white-space: nowrap;
    }
    .tota-menu-item.active::after {
        bottom: 4px;
        width: 20px;
    }
    
    /* 横幅区域适配 */
    .tota-banner {
        height: auto;
        padding: 56px 10px 60px;
    }
    .tota-banner-btn {
        height: 56px;
        font-size: 16px;
        padding: 10px 20px;
    }
    .tota-win {
        width: 20px;
        height: 20px;
    }
    
    /* 内容区域适配 */
    .tota-content-item {
        grid-template-columns: 1fr;
        column-gap: 0;
        padding: 30px 15px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    .video-card.single-video {
        width: 100%;
    }
    .title-h1 {
        font-size: 1.5rem;
        padding-bottom: 8px;
    }
    .title-line {
        left: -25px;
        width: 24px;
    }
    .tota-content-info {
        font-size: 15px;
        line-height: 1.6;
        padding: 0 10px;
    }
    .video-title {
        padding: 12px 15px;
        font-size: 16px;
    }
    .tota-content-video {
        padding: 8px;
    }
    
    /* 浮窗适配 */
    .image-process-popup {
        width: 90vw;
        left: 50%;
    }
    .cooperation-popup {
        flex-direction: column !important;
        padding: 8px !important;
    }
    .popup-left {
        flex: none !important;
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid #E6F0FF !important;
        padding-right: 0 !important;
        margin-bottom: 10px !important;
    }
    .section-main-title {
        font-size: 15px !important;
        margin-bottom: 10px !important;
    }
    .list-title {
        font-size: 12px !important;
        margin-bottom: 5px !important;
    }
    .list-desc {
        font-size: 11px !important;
        margin-bottom: 5px !important;
    }
    .contact-section {
        padding: 20px 10px !important;
        min-height: auto;
    }
    .contact-main-title {
        font-size: 14px !important;
        margin-bottom: 10px !important;
    }
    .contact-phone {
        font-size: 16px !important;
        margin-bottom: 15px !important;
    }
    
    /* 底部适配 */
    .tota-footer {
        height: auto;
        padding: 20px 10px;
        margin-top: 40px;
        border-radius: 20px 20px 0 0;
    }
    .tota-footer-text {
        flex-direction: column;
        gap: 8px;
    }
    .tota-footer-info {
        margin-top: 8px;
        font-size: 11px;
    }
}

@media (max-width: 640px) {
    .tota-header {
        box-shadow: 0 2px 8px rgba(15, 75, 219, 0.06);
    }
    .tota-banner-btn {
        width: 90%;
    }
    .title-h1 {
        font-size: 1.3rem;
    }
    .video-title {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    /* 验证码弹窗适配 */
    .verify-modal {
        width: 90%;
        padding: 16px;
    }
    .verify-code-area {
        flex-direction: column;
        gap: 10px;
    }
    .verify-code-input {
        width: 100%;
    }
    .verify-code-img {
        width: 100%;
        height: auto;
    }
}

/* 小屏手机额外适配 */
@media (max-width: 480px) {
    .tota-menu-item {
        padding: 8px 6px;
        font-size: 12px;
    }
    .header h1 {
        font-size: 1.5rem;
    }
    .feature-text h3 {
        font-size: 0.95rem;
    }
    .feature-text p {
        font-size: 0.8rem;
    }
}
