* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", Arial, sans-serif;
    -webkit-tap-highlight-color: transparent !important;
    tap-highlight-color: transparent !important;
    outline: none !important;
}

body {
    color: #333;
    background-color: #FAFAFA;
    overflow-x: hidden;
}

img {
    border: none;
    max-width: 100%;
    height: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a,
a:link,
a:visited,
a:hover,
a:active {
    -webkit-tap-highlight-color: transparent !important;
    tap-highlight-color: transparent !important;
    outline: none !important;
    text-decoration: none !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul,
li {
    list-style: none;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 0;
}

/* 企业风格配色 */
:root {
    --primary-color: #165DFF;
    --secondary-color: #4080FF;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-light: #F5F7FA;
    --white: #FFFFFF;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 3px 16px rgba(0, 0, 0, 0.08);
}

/* 通用按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
    box-shadow: var(--shadow);
}

/* 通用标题样式 */
.section-title {
    font-size: 28px;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 16px;
    font-weight: 600;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.6;
}

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    z-index: 999;
    display: flex;
    align-items: center;
}

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

.logo img {
    height: 40px;
}

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

.nav-list {
    display: flex;
    margin-right: 30px;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-buttons .auth-mobile-btn {
    display: none;
    align-items: center;
    justify-content: center;
}

.auth-btn {
    margin-left: 15px;
    padding: 8px 20px;
    font-size: 14px;
}

.auth-btn.login {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.auth-btn.register {
    background-color: var(--primary-color);
    color: var(--white);
}

.hamburger {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-right: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding-top: 40px;
    padding-left: 20px;
    padding-right: 20px;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.close-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.mobile-nav-item .nav-link {
    font-size: 18px;
    padding: 10px 0;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Banner区域 */
.banner {
    height: 600px;
    background: url(../images/banner.png) no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.banner-content {
    max-width: 600px;
    margin-left: 14%;
}

.banner-title {
    font-size: 48px;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.banner-desc {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.banner-btn {
    padding: 12px 32px;
    font-size: 16px;
}

/* 支付方式区域 */
.payment-methods {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 40px 30px;
    margin: -60px auto 60px;
    max-width: 1300px;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    justify-items: center;
}

.payment-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 100%;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.payment-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.payment-item img {
    max-height: 50px;
}

.payment-item.placeholder {
    color: var(--text-lighter);
    font-size: 14px;
}

/* 关于我们区域 */
.about {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.about-text {
    flex: 1;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    height: 400px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-lighter);
}

/* 商户流程区域 */
.process {
    padding: 80px 0;
    background-color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.step-title {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-light);
}

/* 优势区域 */
.advantages {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(22, 93, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 24px;
}

.advantage-title {
    font-size: 18px;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.advantage-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 联系我们区域 */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-card {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

.contact-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-value {
    font-size: 14px;
    line-height: 1.6;
}

/* 底部区域 */
.footer {
    background-color: #1D2129;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

.fixed-sidebar {
    position: fixed;
    right: 20px;
    bottom: 25%;
    z-index: 998;
}

.fixed-btn {
    position: relative;
    width: 50px;
    height: 50px;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.5)
}

.fixed-btn:hover {
    transform: scale(1.05);
}

#contactBtn img {
    border-radius: 999px;
}

#contactBtn span {
    position: absolute;
    color: #FFF;
    width: 100%;
    padding: 2px 0;
    text-align: center;
    bottom: -10px;
    font-size: 10px;
    border-radius: 5px;
    background-color: #165DFF;
}

/* 响应式样式 */
@media (max-width: 992px) {
    .banner {
        height: 450px;
    }

    .banner-title {
        font-size: 36px;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-text .section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 10px;
    }

    .container.other {
        padding: 0 20px;
    }

    .auth-btn {
        display: none;
    }

    .auth-buttons .auth-mobile-btn {
        display: flex;
    }

    .nav-list {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .auth-buttons {
        margin-right: 10px;
    }

    .banner {
        height: 400px;
        text-align: center;
    }

    .banner-content {
        margin: 0 auto;
    }

    .banner-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .payment-methods {
        margin: -60px auto 60px;
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .auth-btn {
        padding: 6px 12px;
        margin-left: 8px;
        font-size: 12px;
    }

    .banner {
        height: 380px;
    }

    .banner-desc {
        font-size: 16px;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        padding: 0 20px;
        gap: 30px;
    }
}