/* =============================================================
   WAP 官网公共样式
   ============================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background: #ffffff; color: #333; min-height: 100vh; display: flex; flex-direction: column; }
a { text-decoration: none; color: inherit; }

/* =============================================================
   顶部导航
   ============================================================= */
.site-header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 15px 5%; display: flex; justify-content: space-between; align-items: center;
    background: rgba(255, 255, 255, 0.95); box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.site-header .logo-text { font-size: 28px; font-weight: 800; color: #001f4d; letter-spacing: 2px; }
.site-header .nav-links a {
    margin-left: 20px; font-size: 14px; color: #001f4d; font-weight: 600;
    padding-bottom: 4px; border-bottom: 2px solid transparent; transition: 0.2s;
}
.site-header .nav-links a:hover { color: #0055cc; }
.site-header .nav-links a.active { border-bottom-color: #001f4d; }

/* =============================================================
   主内容区
   ============================================================= */
.page-main { flex: 1; padding-top: 80px; }

/* 首页 Hero 布局 */
.home-main {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 120px 20px 60px; position: relative;
}

.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 70%, rgba(0, 150, 255, 0.15) 0%, rgba(255,255,255,0) 60%);
    z-index: -1;
}
.hero { max-width: 800px; width: 100%; }
.logo-placeholder { margin-bottom: 40px; display: inline-block; }
.logo-placeholder img { max-width: 280px; width: 100%; height: auto; display: block; }
.hero h1 { font-size: 2.5rem; color: #001f4d; margin-bottom: 20px; font-weight: 700; }
.hero .subtitle { font-size: 1.2rem; color: #666; margin-bottom: 50px; line-height: 1.6; }

/* 下载按钮 */
.download-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.btn-download {
    display: flex; align-items: center; justify-content: flex-start;
    background: #001f4d; color: white; padding: 12px 25px; border-radius: 10px;
    width: 220px; transition: 0.3s; box-shadow: 0 8px 20px rgba(0, 31, 77, 0.2);
}
.btn-download:hover { transform: translateY(-5px); background: #003380; box-shadow: 0 12px 25px rgba(0, 31, 77, 0.3); }
.btn-download .icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-right: 15px; flex-shrink: 0; }
.btn-download .icon svg { width: 100%; height: 100%; fill: currentColor; }
.btn-download .text span { display: block; font-size: 12px; opacity: 0.8; text-align: left; }
.btn-download .text strong { font-size: 18px; display: block; text-align: left; }

/* 内容页（隐私政策、删除账号） */
.content-page {
    max-width: 800px; margin: 40px auto; padding: 0 20px 60px;
}
.content-page h1 { font-size: 2rem; color: #001f4d; margin-bottom: 10px; }
.content-page h2 { font-size: 1.3rem; color: #001f4d; margin-top: 30px; margin-bottom: 10px; }
.content-page p { line-height: 1.7; margin-bottom: 12px; color: #444; }
.content-page ul { margin: 10px 0 20px 24px; }
.content-page li { line-height: 1.7; margin-bottom: 6px; color: #444; }
.content-page a { color: #0055cc; text-decoration: underline; }
.last-updated { color: #888; font-size: 13px; margin-bottom: 30px; }

/* 删除账号表单 */
.delete-form { margin: 30px 0; padding: 24px; background: #f8fafc; border-radius: 12px; border: 1px solid #e2e8f0; }
.delete-form .form-group { margin-bottom: 16px; }
.delete-form label { display: block; font-size: 13px; color: #555; margin-bottom: 6px; font-weight: 600; }
.delete-form input {
    width: 100%; padding: 12px 14px; border: 1.5px solid #cbd5e1; border-radius: 8px;
    font-size: 15px; outline: none; transition: border 0.2s;
}
.delete-form input:focus { border-color: #001f4d; }
.btn-danger {
    width: 100%; padding: 14px; background: #dc2626; color: #fff; border: none;
    border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: 0.2s;
}
.btn-danger:hover { background: #b91c1c; }
.btn-danger:disabled { opacity: 0.6; cursor: not-allowed; }

.result-box { padding: 16px; border-radius: 8px; margin: 20px 0; font-size: 14px; }
.result-box.success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.result-box.error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.result-box.hidden { display: none; }

.back-link { margin-top: 40px; font-size: 14px; }
.back-link a { color: #001f4d; text-decoration: none; font-weight: 600; }
.back-link a:hover { text-decoration: underline; }

/* =============================================================
   页脚
   ============================================================= */
.site-footer { background: #f4f7f9; padding: 40px 5% 20px; text-align: center; border-top: 1px solid #e0e0e0; }
.site-footer .footer-top { color: #555; font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.site-footer .company-name { font-weight: bold; font-size: 15px; color: #001f4d; margin-bottom: 5px; }
.site-footer .contact a { color: #001f4d; font-weight: bold; }
.site-footer .contact a:hover { text-decoration: underline; }
.site-footer .footer-bottom { border-top: 1px solid #ddd; padding-top: 20px; color: #888; font-size: 13px; }

/* =============================================================
   响应式
   ============================================================= */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; }
    .download-buttons { flex-direction: column; align-items: center; }
    .btn-download { width: 100%; max-width: 320px; }
    .logo-placeholder img { max-width: 180px; }
    .site-header .nav-links a { margin-left: 12px; font-size: 13px; }
    .content-page h1 { font-size: 1.6rem; }
}


/* =============================================================
   语言切换按钮（仅首页）
   ============================================================= */
.lang-switch {
    display: flex;
    gap: 6px;
}
.lang-btn {
    background: none;
    border: 1px solid #001f4d;
    color: #001f4d;
    padding: 5px 14px;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: 0.2s;
}
.lang-btn:hover {
    background: rgba(0, 31, 77, 0.05);
}
.lang-btn.active {
    background: #001f4d;
    color: #fff;
}


/* =============================================================
   页脚 - 直接下载行
   ============================================================= */
.site-footer .direct-download {
    margin-top: 10px;
    font-size: 13px;
    color: #555;
}
.site-footer .direct-download a {
    color: #001f4d;
    font-weight: 600;
    text-decoration: none;
    margin: 0 4px;
}
.site-footer .direct-download a:hover {
    text-decoration: underline;
}

/* =============================================================
   商店选择悬浮菜单
   ============================================================= */
.store-menu-mask {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.2s;
}
.store-menu-mask.hidden {
    display: none;
}

.store-menu-box {
    background: #ffffff;
    border-radius: 18px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: storeMenuIn 0.2s ease-out;
}
@keyframes storeMenuIn {
    from { transform: scale(0.95); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.store-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    font-weight: 700;
    color: #001f4d;
}
.store-menu-header button {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.store-menu-body {
    padding: 8px 0;
}

.store-menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
    border-bottom: 1px solid #f5f5f5;
}
.store-menu-item:last-child {
    border-bottom: none;
}
.store-menu-item:hover {
    background: #f8fafc;
}

.store-menu-icon {
    font-size: 30px;
    width: 44px;
    text-align: center;
    flex-shrink: 0;
}

.store-menu-info {
    flex: 1;
}
.store-menu-name {
    font-size: 15px;
    font-weight: 600;
    color: #001f4d;
    margin-bottom: 2px;
}
.store-menu-desc {
    font-size: 12px;
    color: #888;
}

.store-menu-arrow {
    color: #ccc;
    font-size: 22px;
    font-weight: 300;
}

@media (max-width: 480px) {
    .store-menu-box {
        max-width: 100%;
    }
}