/* 自定义样式 - 用于补充 Bootstrap 样式 */

:root {
    --primary-blue: #1778FF;
    --primary-green: #07C160;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    position: relative;
}

/* 页面缩放容器 */
#pageWrapper {
    width: 1920px;
    height: auto;
    min-height: 0;
    transform-origin: top left;
    margin: 0;
    padding: 0;
    position: relative;
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    height: 80px;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo .title {
    background: linear-gradient(to right, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 34px;
    font-weight: bold;
}

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

.nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 60px;
}

.nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav ul li a:hover {
    color: var(--primary-blue);
}

.header-phone {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 18px;
    gap: 10px;
}

.header-phone img {
    height: 20px;
    width: auto;
}

.header-phone span {
    font-size: 20px;
    font-weight: bold;
}

/* 公司前台区域 */
.company-front {
    padding-top: 0;
    width: 100%;
}

.company-front img {
    width: 100%;
    height: auto;
    display: block;
}

/* 关于我们区域 */
.about {
    padding: 100px 0;
    background: url('../imgs/bg_01.jpg') no-repeat center center / cover;
    position: relative;
    width: 100%;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
}

.about .container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text .title {
    background: linear-gradient(to right, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
}

.about-text .subtitle {
    font-size: 25px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.about-text ul {
    list-style: none;
    padding-left: 0;
}

.about-text ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
}

.about-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-blue);
    border-radius: 50%;
}

.about-video {
    flex: 1;
    position: relative;
}

.about-video .video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.about-video .video-wrapper video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.about-video .video-wrapper .video-cover {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.about-video .video-wrapper.playing .video-cover {
    display: none !important;
}

.about-video .video-wrapper.playing video {
    display: block !important;
}

.about-video .video-wrapper .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

.about-video .video-wrapper.playing .play-btn {
    display: none !important;
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 25px solid var(--primary-blue);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 5px;
}

/* 核心业务区域 */
.core-business {
    padding: 100px 0 60px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%);
}

.core-business .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.core-business-header {
    text-align: right;
    margin-bottom: 60px;
    padding-right: calc(10% - 100px);
}

.core-business-header .title {
    background: linear-gradient(to right, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 42px;
    font-weight: bold;
}

.core-business-header p {
    font-size: 24px;
    color: #999;
    line-height: 1.6;
    margin: 0;
}

.business-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.business-card {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    display: flex;
    align-items: center;
    padding: 40px;
    gap: 30px;
}

.business-card .card-icon {
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.business-card .card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.business-card .card-content {
    flex: 1;
    text-align: left;
}

.business-card .card-content h3 {
    font-size: 32px;
    color: #333;
    margin-bottom: 12px;
    font-weight: bold;
}

.business-card .card-content p {
    font-size: 25px;
    color: #999;
    line-height: 1.6;
    margin: 0;
}

/* 三方受益区域 */
.benefits {
    padding: 50px 0 0 0;
}

.benefits .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.benefits-header{
    text-align: center;
    margin-bottom: 50px;
}
.benefits-header .title{
    -webkit-text-fill-color: transparent;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
background: linear-gradient(to right, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.benefits-header p {
    font-size: 28px;
    font-weight: bold;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 15px 80px;
    border: none;
    background-color: transparent;
    color: #666;
    font-size: 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    color: #fff;
}

.tab-content {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
}

.tab-panel {
    display: none;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    height: 500px;
}

.tab-panel.active {
    display: block;
}

.tab-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.tab-info {
    position: relative;
    padding: 50px 100px;
    z-index: 2;
    margin: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background: transparent;
    border-radius: 20px;
}

.tab-info h3 {
    font-size: 45px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 30px;
}

.tab-info ul {
    list-style: none;
}

.tab-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.tab-info li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 14px;
}

.tab-info li .content {
    flex: 1;
    min-width: 0;
}

.tab-info li strong {
    font-size: 22px;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.tab-info li label {
    font-size: 16px;
    color: #fff;
    line-height: 1.6;
    display: block;
    width: 100%;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

/* 手机展示区域 */
.phone-show {
    margin-top: 80px;
    padding: 0;
    text-align: center;
    background-color: #FFFFFF;
}

.phone-show .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.phone-header{
    text-align: center;
    margin-bottom: 30px;
}

.phone-header .title {
    background: linear-gradient(to right, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 42px;
    font-weight: bold;
}

.phone-header p {
    font-size: 28px;
    font-weight: bold;
}

.phone-bg-image {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* 加盟区域 */
.join {
    padding: 80px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F5FAFF 100%);
}

.join .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.join-cards {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.join-card {
    border-radius: 20px;
    overflow: hidden;
    flex: 1;
}

.merchant-join {
    background: #E1F3FD;
}

.agent-join {
    background: #E3FFE8;
}

.join-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 50px;
}

.join-left h3 {
    font-size: 30px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.join-action {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.join-arrow {
    width: 70px;
    height: 70px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.join-arrow img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.join-btn {
    padding: 20px 40px;
    background-color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.join-right {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.join-right img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 联系我们区域 */
.contact {
    padding: 10px 0 40px 0;
    background: linear-gradient(180deg, #F6FBFF 0%, #E7F6FF 100%);
}

.contact .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact .title {
    background: linear-gradient(to right, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 40px;
}

.contact-box {
    margin-top: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 252, 255, 0.95) 100%);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
}

.contact-address {
    margin-bottom: 60px;
}

.contact-row {
    display: flex;
    gap: 50px;
}

.contact-row .contact-item {
    flex: 1;
    margin-bottom: 0;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-text h4 {
    font-size: 24px;
    color: #333;
    font-weight: bold;
    margin-bottom: 8px;
}

.contact-text p {
    font-size: 18px;
    color: var(--primary-blue);
    margin: 0;
}
.contact-text p>a {
    text-decoration: none;
}

.contact-qr {
    margin-left: 50px;
    text-align: center;
}

.contact-qr img {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

.contact-qr p {
    margin-top: 10px;
    font-size: 16px;
    color: #666;
}

/* 页脚 */
.footer {
    background-color: #333333;
    padding: 0;
    margin: 0;
    width: 100%;
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
}

.footer .container p {
    margin: 0;
    text-align: center;
    color: #999;
    font-size: 18px;
    line-height: 1;
}

/* 确保页脚后没有多余空间 */
.footer::after {
    content: '';
    display: block;
    height: 0;
    margin: 0;
    padding: 0;
}
