* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}
img {
    max-width: 100%;
    height: auto;
}
body {
    background: #fffaf5;
    color: #3c2a21;
    font-family: system-ui, -apple-system, Helvetica, sans-serif;
    line-height: 1.7;
    padding-top: 54px;
    padding-bottom: 50px;
}
.top-navbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 54px;
    background:#ffffff;
    box-shadow:0 1px 6px rgba(234, 88, 12, 0.08);
    z-index:9998;
}
.nav-inner{
    max-width:640px;
    margin:0 auto;
    height:100%;
    display:flex;
    align-items:center;
    justify-content: space-around;
    padding:0 14px;
}
.nav-item{
    font-size:14.5px;
    color:#786254;
    text-decoration:none;
    padding:5px 10px;
    border-radius:8px;
    transition: 0.22s;
}
.nav-item.active{
    color:#ea580c;
    font-weight:600;
    background:#fff1e6;
}
.app-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 16px;
}
.card {
    border-radius: 12px;
    padding: 22px 18px;
    margin-bottom: 18px;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(234, 88, 12, 0.07);
}
.hero-section {
    position: relative;
    text-align: center;
    padding: 32px 18px 26px;
    background: #ffffff;
    border-radius: 14px;
    margin-bottom: 18px;
    overflow: hidden;
}
.hero-section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg,#ea580c,#fb923c);
}
.security-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #fff1e6;
    color: #ea580c;
    font-size: 12px;
    padding: 4px 11px;
    border-radius: 20px;
    font-weight: 500;
    z-index: 2;
}
.logo-area {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 8px;
    margin-top:10px;
}
.app-logo-img {
    border-radius: 14px;
    width: 74px;
    height: 74px;
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.18);
    background: #fff7ef;
}
.app-title h1 {
    font-size: 26px;
    font-weight: 700;
    color: #c2410c;
    letter-spacing: 0.5px;
}
.app-subtitle {
    position: relative;
    z-index: 2;
    font-size: 14.5px;
    color:#8c7262;
    margin-top: 4px;
}
.hero-downloads {
    position: relative;
    z-index: 2;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: linear-gradient(90deg, #ea580c, #fb923c);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 15.5px;
    font-weight: 600;
    transition: all 0.22s ease;
    min-height: 48px;
}
.dl-btn:active {
    transform: scale(0.97);
}
.dl-btn.secondary {
    background: #fff1e6;
    color: #ea580c;
}
.dl-icon {
    width: 20px;
    height: 20px;
}
.dl-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}
.invite-section {
    padding: 22px 18px;
    background: #ffffff;
}
.invite-header {
    font-size: 17px;
    color: #ea580c;
    margin-bottom: 16px;
    font-weight: 700;
    text-align: center;
}
.invite-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 18px;
    background: #fff7ef;
    border-radius: 12px;
}
.invite-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.invite-label {
    font-size: 15px;
    color: #5a4437;
}
.invite-code {
    color: #ea580c;
    font-weight: 700;
    font-size: 20px;
    letter-spacing:1.6px;
}
.copy-btn {
    background: #ea580c;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s ease;
    min-height: 40px;
}
.copy-btn:active {
    transform: scale(0.95);
}
.invite-tip {
    margin-top: 12px;
    font-size: 13px;
    color: #8c7262;
    text-align: center;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}
.feature-item {
    padding: 16px 10px;
    background: #ffffff;
    border-radius: 12px;
    text-align: center;
    box-shadow:0 2px 8px rgba(234, 88, 12, 0.06);
}
.feature-icon {
    width: 28px;
    height: 28px;
    margin: 0 auto 9px;
    color: #f97316;
}
.feature-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}
.feature-title {
    font-size: 14px;
    font-weight: 600;
    color: #3c2a21;
}
.feature-desc {
    font-size: 12.5px;
    color: #8c7262;
    margin-top: 4px;
}
.seo-content {
    padding: 22px 18px;
    line-height: 1.8;
    font-size: 14.5px;
    color: #5a4437;
    margin-bottom: 18px;
}
.seo-content h2 {
    margin: 18px 0 10px;
    color: #ea580c;
    font-size: 19px;
}
.seo-content h3 {
    margin:16px 0 8px;
    color:#c2410c;
    font-size:16.5px;
}
.seo-content ul {
    padding-left: 24px;
}
.seo-content p {
    margin-bottom: 10px;
}
.friend-link {
    padding: 22px 18px;
}
.friend-link-title {
    font-size: 17px;
    color: #ea580c;
    margin-bottom: 14px;
    font-weight: 700;
}
.friend-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.friend-list a {
    padding: 6px 14px;
    color: #ea580c;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    transition: 0.2s;
    background: #fff1e6;
}
.friend-list a:hover {
    background: #ffe4ce;
}
.main-footer {
    text-align: center;
    font-size: 13px;
    color: #8c7262;
    padding: 12px 0;
}
#weixin-tip {
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(30, 24, 18, 0.93);
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.weixin-box {
    text-align: center;
}
.weixin-box p {
    color: #ffedd5;
    font-size: 15px;
    margin-top: 20px;
    line-height: 1.75;
}
.toast {
    position: fixed;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    background: rgba(44, 32, 24, 0.92);
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 14px;
    z-index: 99999;
    display: none;
}
#backTop {
    position: fixed;
    right: 16px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: 0.24s ease;
    box-shadow: 0 3px 12px rgba(234, 88, 12, 0.14);
}
#backTop.show {
    opacity: 1;
    visibility: visible;
}
#backTop svg {
    width: 21px;
    height: 21px;
    fill: #ea580c;
}
#backTop:active {
    transform: scale(0.92);
}
.safe-bottom {
    height:60px;
}
