/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.adc img{width:100%}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #282828; /* 512px以外的背景色 */
  
}
.partner-section img{width:100%!important}
.container {
    max-width: 512px;
    margin: 0 auto;padding:0!important;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 67px); /* 仅修改：减去头部高度，避免滚动条异常 */
    background-color: #f5f5f5; /* 容器内部背景色 */
}
.article-content img{width:100%!important;}


/* 以下所有样式完全保留你原有代码，无任何修改 */
/* 轮播主图区域 - 核心调整 */
.banner {
    position: relative;
    background-color: #ff3b30;
    color: #fff;
    /* 移除固定高度，让图片决定高度 */
    height: auto;
    overflow: hidden;
}

.banner-slides {
    display: flex;
    /* 高度自适应内容 */
    height: auto;
    transition: transform 0.3s ease;
}

.slide {
    min-width: 100%;
    /* 高度自适应内容 */
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide-content {
    width: 100%;
    /* 高度自适应内容 */
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0; /* 移除内边距避免图片被挤压 */
}

.product-showcase {
    position: relative; /* 改为相对定位，避免脱离文档流 */
    top: 0;
    left: 0;
    width: 100%;
    /* 高度自适应图片 */
    height: auto;
}

.product-item {
    position: relative; /* 取消绝对定位，避免图片重叠/偏移 */
    /* 移除原有定位值，让图片正常显示 */
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%; /* 占满容器宽度 */
    margin: 0 auto; /* 居中显示 */
}

/* 关键：保证图片完整显示且不变形 */
.product-item img {
    width: 100%; /* 宽度自适应容器 */
    height: auto; /* 高度自动比例缩放 */
    border-radius: 0; /* 移除圆角，避免裁剪 */
    display: block; /* 去除图片底部空白 */
    object-fit: contain; /* 确保图片完整显示，不拉伸 */
}

/* 轮播指示器 - 微调位置适配自适应高度 */
.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10; /* 确保指示器在图片上方 */
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background-color: #fff;
    width: 24px;
    border-radius: 4px;
}

/* 合规认证模块样式（适配html font-size:32px） */
.certification {
    background-color: #fff;
    padding: 0.75rem 0.5rem; /* 24px/32=0.75rem, 16px/32=0.5rem */
    margin-bottom: 0.5rem; /* 16px/32=0.5rem */
}

.cert-header {
    text-align: center;
    margin-bottom: 0.75rem; /* 24px/32=0.75rem */
}

.cert-header h3 {
    font-size: 0.625rem; /* 20px/32=0.625rem */
    color: #333;
    font-weight: 600;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem; /* 20px/32=0.625rem */
}

.cert-item {
    text-align: center;
    padding: 0.625rem 0.375rem; /* 20px/32=0.625rem, 12px/32=0.375rem */
    background-color: #f9f9f9;
    border-radius: 0.1875rem; /* 6px/32=0.1875rem */
}
.ctd{font-size: 0.55rem;text-align: right;}
.cert-num {
    font-size: 0.75rem; /* 24px/32=0.75rem */
    color: #007aff;
    font-weight: bold;
    margin-bottom: 0.1875rem; /* 6px/32=0.1875rem */
}

.cert-desc {
    font-size: 0.4375rem; /* 14px/32=0.4375rem */
    color: #666;
}
/* 产品服务模块样式 */
.product-service {
    background-color: #fff;
    padding: 0.75rem 0.5rem; /* 24px/32=0.75rem, 16px/32=0.5rem */
    margin-bottom: 0.5rem;
}

.service-header {
    text-align: center;
    margin-bottom: 0.75rem;
}

.service-header h3 {
    font-size: 0.625rem; /* 20px/32=0.625rem */
    color: #333;
    font-weight: 600;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem; /* 20px/32=0.625rem */
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.625rem 0.375rem;
    background-color: #f9f9f9;
    border-radius: 0.1875rem; /* 6px/32=0.1875rem */
}

/* 图标样式（你替换PNG后会自动适配） */
.service-icon {
    width: 2.875rem; /* 60px/32=1.875rem */
    height: 2.875rem;
    margin-bottom: 0.375rem; /* 12px/32=0.375rem */
    object-fit: contain; /* 保证图标不变形 */
}

.service-name {
    font-size: 0.4375rem; /* 14px/32=0.4375rem */
    color: #666;
}
/* 汇来米APP模块样式 */
.app-module {
    background-color: #fff;
    padding: 0.75rem 0.5rem;
    margin-bottom: 0.5rem;
}

.app-header {
    text-align: center;
    margin-bottom: 0.75rem;
}

.app-header h3 {
    font-size: 0.625rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.app-note {
    font-size: 0.375rem;
    color: #999;
}

.app-content {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.app-left {
    flex: 1;
}

.app-phone-img {
    width: 100%;
    height: auto;
    border-radius: 0.25rem;
}

.app-right-list {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 核心调整：增大文字尺寸 + 加宽上下间距 */
.app-right-list li {
    font-size: 0.5625rem; /* 从0.4375rem(14px) 增大到 0.5625rem(18px) */
    color: #333;
    line-height: 1.2; /* 重置行高，靠margin控制间距 */
    position: relative;
    padding-left: 0.5rem;
    margin-bottom: 1.325rem; /* 从0.375rem 增大到 0.625rem(20px) */
}

.app-right-list li::before {
    content: "•";
    color: #ff3b30;
    position: absolute;
    left: 0;
    font-size: 0.625rem; /* 圆点同步放大，视觉更协调 */
}
/* 智能收钱设备轮播模块样式（修复版） */
.device-carousel {
    background-color: #fff;
    padding: 0.75rem 0.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
    height: 10.66667rem; /* 固定高度写在这里 */
    box-sizing: border-box; /* 确保padding不影响总高度 */
}

.device-header {
    text-align: center;
    margin-bottom: 0.5rem;
    height: 0.8rem; /* 固定标题高度，避免布局偏移 */
}

.device-header h3 {
    font-size: 0.625rem;
    color: #333;
    font-weight: 600;
    line-height: 0.8rem;
}

/* 轮播内容容器：占满剩余高度 */
.device-slide-container {
    height: calc(100% - 0.8rem - 0.5rem); /* 总高度 - 标题高度 - 指示器高度 */
    overflow: hidden;
    position: relative;
}

.device-slides {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
}

.device-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.device-img-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 0.3rem;
}

.device-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.device-info {
    text-align: left;
    width: 100%;
    padding: 0 0.2rem;
}

.device-info h4 {
    font-size: 0.5rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.device-info p {
    font-size: 0.40625rem;
    color: #666;
}

/* 轮播指示器（固定位置） */
.device-dots {
    position: absolute;
    bottom: 0.75rem;
    right: 0.5rem;
    display: flex;
    gap: 0.25rem;
    z-index: 10;
}

.device-dot {
    width: 0.1875rem;
    height: 0.1875rem;
    border-radius: 50%;
    background-color: #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
}

.device-dot.active {
    background-color: #ff3b30;
    width: 0.5rem;
    border-radius: 0.09375rem;
}
/* 合作伙伴模块样式 */
.partner-section {
    background-color: #fff;
  
    margin-bottom: 0.5rem;
}

.partner-header {
    text-align: center;
    margin-bottom: 0.75rem; /* 24px /32 */
}

.partner-header h3 {
    font-size: 0.625rem; /* 20px /32 */
    color: #333;
    font-weight: 600;
}

.partner-img-wrapper {
    width: 100%;
    text-align: center;
}

.partner-img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    /* 确保图片在容器中居中，且不变形 */
    object-fit: contain;
}
/* 加盟表单模块样式 */
.join-form {
    background-color: #fff;
    padding: 0.75rem 0.5rem;
    margin-bottom: 0.5rem;
}

.form-header {
    text-align: center;
    margin-bottom: 0.75rem;
}

.form-header h3 {
    font-size: 0.625rem;
    color: #333;
    font-weight: 600;
}

.form-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.form-group {
    width: 100%;
}

.form-label {
    display: block;
    font-size: 0.46875rem;
    color: #333;
    margin-bottom: 0.25rem;
}

.required {
    color: #ff3b30;
}

.form-input, .form-select {
    width: 100%;
    padding: 0.375rem 0.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 0.125rem;
    font-size: 0.4375rem;
    color: #333;
    box-sizing: border-box;
}

.form-input::placeholder, .form-textarea::placeholder {
    color: #999;
}

/* 手机号输入框样式 */
.phone-input-wrap {
    position: relative;
}

.phone-icon {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.5rem;
}

/* 单选框样式 */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.radio-item {
    display: flex;
    align-items: center;
    font-size: 0.4375rem;
    color: #333;
    cursor: pointer;
}

.radio-item input {
    display: none;
}

.radio-dot {
    display: inline-block;
    width: 0.4375rem;
    height: 0.4375rem;
    border: 1px solid #ccc;
    border-radius: 50%;
    margin-right: 0.375rem;
    position: relative;
}

.radio-item input:checked + .radio-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.25rem;
    height: 0.25rem;
    background-color: #ff3b30;
    border-radius: 50%;
}

/* 文本域样式 */
.form-textarea {
    width: 100%;
    padding: 0.375rem 0.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 0.125rem;
    font-size: 0.4375rem;
    color: #333;
    min-height: 2rem;
    resize: none;
    box-sizing: border-box;
}

/* 提交按钮 */
.form-submit {
    width: 100%;
    padding: 0.5rem 0;
    background-color: #007aff;
    color: #fff;
    border: none;
    border-radius: 0.125rem;
    font-size: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.375rem;
}

.form-submit:active {
    background-color: #e03228;
}

/* 底部信息模块样式 */
.app-footer {
    background-color: #f5f5f5;
    padding: 0.75rem 0.5rem 1rem;
    text-align: center;
}

.footer-contact {
    margin-bottom: 0.75rem;
}

.service-tel, .company-name {
    font-size: 0.4375rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.footer-icp {
    font-size: 0.375rem;
    color: #999;
}
