/* ========= 本地引入字体 MD3-Roboto ========= */
@font-face {
    font-family: "Roboto";
    src: url("./font/Ding.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Roboto";
    src: url("./font/Ding.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

:root{
    --main:#1D9D5A;
    --main15:rgba(29,157,90,0.15);
    --surface:#fefefe;
    --bg:#f7f8fa;
    --text1:#212121;
    --text2:#616161;
    --line:#ececec;
    --radius:14px;
    --shadow:0 2px 10px rgba(0,0,0,0.05);
}
* {
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
html, body, p, h1 {
    margin: 0;
    padding: 0;
}
html, body {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    background-color: var(--bg);
}
html {
    -webkit-font-smoothing: antialiased;
    text-size-adjust: 100%;
    touch-action: manipulation;
}
/* 全局绑定本地字体 */
body, button, input, select, textarea {
    font-family: "Roboto",system-ui,sans-serif;
    outline: 0;
    font-weight:400;
}
h1,h3,h4,.btn{
    font-weight:500;
}
input, textarea {
    user-select: auto;
    -webkit-touch-callout: default;
    -webkit-user-select: auto !important;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
}

.app {
    position: relative;
    max-width: 640px;
    min-width: 300px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--surface);
    padding-bottom: calc(30px + env(safe-area-inset-bottom));
}
.flex {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
}

/* 按钮严格你的要求 */
.btn {
    position: relative;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: var(--main15);
    color: var(--main);
    border-radius: var(--radius);
    transition: opacity 0.15s;
}
.btn:active {
    opacity: 0.62;
}

.style6 > * {
    margin: 20px;
}
.style6 .top {
    padding: 20px 20px 0;
    margin: 0;
    justify-content: flex-start;
}
.style6 .top .logo {
    width: 66px;
    height: 66px;
    margin-right: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.style6 .top .desc h1 {
    font-size: 18px;
    color: var(--text1);
}
.style6 .top .desc {
    flex: 1;
}
.style6 .top .desc p {
    margin-top: 6px;
    font-size: 11px;
    color: var(--text2);
}

.style6 .btn-group {
    display: flex;
    gap: 16px;
    margin: 20px;
}
.style6 .btn-group .btn {
    flex: 1;
    margin: 0;
    height: 44px;
}

.style6 .slogan {
    position: relative;
    display: block;
    font-size: 11px;
    text-align: center;
    z-index: 99;
    color:var(--text2);
}
.style6 .slogan span {
    background-color: var(--surface);
    display: inline-block;
    padding: 0 10px;
}
.style6 .slogan::after {
    content: '';
    position: absolute;
    top: 50%;
    border-bottom: 1px solid var(--line);
    left: 0;
    right: 0;
    z-index: -1;
}

.style6 .covers {
    justify-content: flex-start;
    overflow: hidden;
    overflow-x: auto;
    margin: 0;
    padding-bottom: 15px;
    gap:12px;
}
.style6 .covers img {
    margin-left: 0;
    border-radius: var(--radius);
    width: 40.3%;
    border: 1px solid var(--line);
    flex-shrink: 0;
    display: block;
    cursor: pointer;
    box-shadow: var(--shadow);
}
.style6 .covers img:first-child {
    margin-left: 20px;
}

/* 图片预览弹窗 */
.img-preview {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.93);
    z-index: 9999;
    display: none;
}
/* 关闭按钮 */
.preview-close {
    position: absolute;
    left:16px;
    top:calc(16px + env(safe-area-inset-top));
    width:40px;
    height:40px;
    border-radius:50%;
    background:rgba(255,255,255,0.18);
    color:#fff;
    font-size:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9;
}
.preview-close:active{
    background:rgba(255,255,255,0.3);
}
/* 滑动容器 */
.preview-slide-box{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    touch-action:none;
}
.preview-img-box{
    transition:transform 0.24s cubic-bezier(0.25,0.8,0.25,1);
}
.img-preview img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius);
    display:block;
}

/* 优化后功能介绍区域（简约同色系） */
.feature-wrap{
    margin:0 20px 35px;
    background:#fff;
    border-radius: var(--radius);
    padding:22px;
    box-shadow: var(--shadow);
}
.feature-head{
    display:flex;
    align-items:center;
    margin-bottom:20px;
}
.feature-line{
    width:4px;
    height:18px;
    background:var(--main);
    border-radius:2px;
    margin-right:10px;
}
.feature-head h3{
    margin:0;
    font-size:15px;
    color:var(--text1);
}
.feature-item{
    display:flex;
    align-items:flex-start;
    margin-bottom:18px;
}
.feature-item:last-child{
    margin-bottom:0;
}
.feature-mark{
    width:34px;
    height:34px;
    flex-shrink:0;
    border-radius:50%;
    background:var(--main15);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--main);
    font-weight:500;
    font-size:13px;
    margin-right:14px;
}
.feature-text h4{
    margin:0 0 3px;
    font-size:13px;
    color:var(--text1);
}
.feature-text p{
    margin:0;
    font-size:10.5px;
    color:var(--text2);
    line-height:1.55;
}
