/**
 * 提取自 sidebar.html, sidebarForm.html, footer.html 的CSS样式
 * 来源文件: css/style.css
 */

/* =====================================================
   通用基础样式
   ===================================================== */
a {
    color: #000;
    text-decoration: none;
}

.content {
    margin: 0 auto;
    max-width: 1200px;
}

/* =====================================================
   Footer 页脚样式
   ===================================================== */
footer {
    background: #E0E0E0;
}

.bottomInformation {
    display: flex;
    justify-content: space-between;
}

.bottomInformation ul {
    display: flex;
    padding-top: 40px;
}

.bottomInformation ul li {
    width: 196px;
}

.bottomInformation ul li h2,
.bottomInformation ul li h2 a,
.followWithInterest h2 {
    font-weight: bold;
    font-size: 14px;
    color: #333333;
    line-height: 20px;
    margin-bottom: 16px;
}

.cooperation {
    display: flex;
    justify-content: space-between;
}

.cooperation p {
    white-space: nowrap;
}

.tel_margin {
    padding-left: 70px;
    white-space: nowrap;
}

.bottomInformation ul li a,
.followWithInterest p {
    display: block;
    font-weight: 400;
    color: #66686A;
    margin-bottom: 8px;
    font-size: 14px;
}

.copyright {
    border-top: 1px #D7D8D9 solid;
}

.copyright p {
    line-height: 1;
    padding: 16px 0 40px;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 14px;
    color: #66686A;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.followWithInterest {
    padding-top: 40px;
}

.scanCodeArea {
    display: flex;
    padding-top: 22px;
    padding-bottom: 28px;
}

.scanCodeArea_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.scanCodeArea_item+.scanCodeArea_item {
    margin-left: 40px;
}

.scanCodeArea_item_ewm {
    width: 84px;
    height: 84px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 10px 10px 10px;
    margin-bottom: 10px;
}

.scanCodeArea_item img {
    width: 80px;
    height: 80px;
}

/* =====================================================
   Sidebar 侧边栏悬浮客服样式
   ===================================================== */
.suspensionCustomerService {
    position: fixed;
    right: 28px;
    top: 260px;
    z-index: 102;
    width: 66px;
    height: 320px;
    background: #333333;
    border-radius: 5px 5px 5px 5px;
}

.suspensionCustomerService ul li {
    height: 80px;
    border-bottom: 1px #474747 solid;
    border-top: 1px #272727 solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.suspensionCustomerService ul li:first-child {
    border-top: none;
}

.suspensionCustomerService ul li:last-child {
    border-bottom: none;
}

.suspensionCustomerService ul li img {
    margin-bottom: 8px;
    width: 32px;
    height: auto;
}

.suspensionCustomerService ul li.mfsy img {
    width: 44px;
    height: 43px;
}

.suspensionCustomerService ul li p {
    font-weight: 400;
    font-size: 12px;
    color: #FFFFFF;
    line-height: 17px;
}

.suspensionCustomerService ul li:nth-child(3) {
    background: linear-gradient(135deg, #FFA900 0%, #FF5900 100%);
}

.suspensionCustomerService ul li:nth-child(3) img {
    margin-bottom: 0;
    width: auto;
}

.suspensionCustomerService ul li:hover .wxcode {
    display: flex;
}

/* 微信二维码弹出层 */
.wxcode {
    display: none;
    padding: 20px 40px;
    background: #FFFFFF;
    border-radius: 5px 5px 5px 5px;
    position: absolute;
    right: 100px;
    top: 0;
    justify-content: center;
    align-items: center;
}

.wxcode span {
    display: block;
    text-align: center;
    padding: 0 14px;
}

.wxcode img {
    width: 130px !important;
    height: 130px !important;
}

.wxcode::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 25px;
    width: 0;
    height: 0;
    transform: rotate(45deg);
    border-left: 10px solid transparent;
    border-right: 10px solid #fff;
    border-bottom: 10px solid transparent;
}

.telphone {
    min-width: 240px;
    min-height: 114px;
    line-height: 114px;
    font-weight: 400;
    font-size: 14px;
    color: #66686A;
    text-align: center;
    box-sizing: border-box;
}

/* =====================================================
   SidebarForm 免费试用弹窗样式
   ===================================================== */
.freeTrial_bg {
    background: rgba(0, 0, 0, 0.22);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.freeTrial {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 105;
    width: 954px;
    height: auto;
    background: #FFFFFF;
}

.freeTrial_title {
    height: 80px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #FFA900 0%, #FF5900 100%);
}

.freeTrial_title img {
    width: auto;
    height: 24px;
}

.freeTrial_title .close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

.freeTrial_content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.freeTrial_content ul {
    background: #FFFCFA;
    padding: 40px 60px 40px 40px;
    box-sizing: border-box;
    width: 50%;
}

.freeTrial_content ul li {
    display: flex;
    padding: 14px 0;
    align-items: center;
}

.freeTrial_content ul li span {
    width: 36px;
    height: 36px;
    background: #FFF5EF;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 14px;
}

.freeTrial_content ul li h2 {
    font-weight: 500;
    font-size: 16px;
    color: #333333;
    line-height: 22px;
    padding-bottom: 8px;
}

.freeTrial_content ul li p {
    font-weight: 400;
    font-size: 14px;
    color: #666666;
    line-height: 20px;
}

.freeTrial,
.freeTrial_bg {
    display: none;
}

/* 表单容器 */
.formContainer {
    padding: 30px 40px;
}

/* 表单样式 */
.freeTrialForm {
    display: flex;
    flex-direction: column;
    padding: 40px 80px 40px 40px;
}

.freeTrialForm input {
    border: none;
    outline: none;
    width: 315px;
    height: 44px;
    border-radius: 5px 5px 5px 5px;
    border: 1px solid #D9D9D9;
    text-indent: 1em;
    margin-bottom: 12px;
    color: #333;
}

.freeTrialForm input::placeholder {
    color: #D1D1D1;
}

.freeTrialForm button {
    width: 315px;
    height: 44px;
    background: #FF8800;
    border-radius: 5px 5px 5px 5px;
    border: none;
    outline: none;
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 44px;
    margin-bottom: 14px;
    margin-top: 16px;
    cursor: pointer;
}

.freeTrialForm button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(58, 143, 254, 0.4);
}

.freeTrialForm button:active {
    transform: translateY(0);
}

/* 输入框容器 */
.inputContainer {
    position: relative;
}

.inputContainer input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d8e0;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background-color: #f8f9fc;
}

.inputContainer input:focus {
    outline: none;
    border-color: #3a8ffe;
    box-shadow: 0 0 0 3px rgba(58, 143, 254, 0.2);
    background-color: white;
}

.inputContainer input.error {
    border-color: #ff4d4f;
    background-color: #fff4f4;
}

.inputContainer.error::after {
    content: '!';
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: #ff4d4f;
    font-size: 18px;
    font-weight: bold;
}

input.error {
    border-color: #ff5252;
}

/* 错误消息 */
.error-message {
    color: red;
    font-size: 12px;
    text-align: center;
    min-height: 18px;
    margin-top: 5px;
    transition: all 0.3s ease;
}

/* 关闭按钮 */
span.close {
    position: absolute;
    right: 16px;
    top: 16px;
    cursor: pointer;
}

/* =====================================================
   成功弹窗样式
   ===================================================== */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.success-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    text-align: center;
    padding: 40px 20px 25px;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.success-modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-content h3 {
    font-size: 22px;
    margin: 0 0 15px;
    color: #333;
}

.modal-content p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 25px;
    color: #666;
}

/* 勾选标记动画 */
.checkmark {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    position: relative;
}

.checkmark-circle {
    width: 60px;
    height: 60px;
    background-color: #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 1.5s ease infinite;
}

.checkmark::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-45%, -50%) rotate(45deg);
    height: 25px;
    width: 15px;
    border-bottom: 3px solid white;
    border-right: 3px solid white;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(39, 174, 96, 0); }
    100% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); }
}

/* 关闭按钮样式 */
.close-btn {
    background: linear-gradient(135deg, #3a8ffe 0%, #2a5fd8 100%);
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(58, 143, 254, 0.3);
}

.close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(58, 143, 254, 0.4);
}

.close-btn:active {
    transform: translateY(0);
}
