/* ===========================================================
   丙辰软件 · 全球虚拟定位 首页样式
   设计：深色科技风 + 绿色霓虹质感（移动端优先，最大宽度 600px）
   =========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #00c853;
    --green-deep: #039300;
    --green-bright: #2ee86b;
    --bg-0: #070b09;
    --bg-1: #0b1310;
    --text: #f3f6f3;
    --text-dim: rgba(243, 246, 243, 0.62);
    --card: rgba(255, 255, 255, 0.045);
    --card-border: rgba(255, 255, 255, 0.10);
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color:#f5f5f5;
    color: var(--text);
    padding-top: 58px;
    padding-bottom: 122px;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

/* ===== 顶部 / 底部品牌条 ===== */
.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 58px;
    background: linear-gradient(135deg, var(--green-bright), var(--green-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 18px rgba(0, 140, 70, 0.35);
}

.header-text {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    text-decoration: none;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 58px;
    background: linear-gradient(135deg, var(--green-bright), var(--green-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 -4px 18px rgba(0, 140, 70, 0.35);
}

.footer-text {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    text-decoration: none;
}

/* ===== 主容器 ===== */
.container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px;
}

.background-gradient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 200, 83, 0.18), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(0, 120, 60, 0.12), transparent 55%),
        linear-gradient(180deg, var(--bg-0), var(--bg-1));
}

.main-content {
    position: relative;
    z-index: 1;
}

/* ===== Hero 主视觉 ===== */
.hero {
    text-align: center;
    padding: 36px 6px 26px;
}

.main-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 6px;
    line-height: 1.18;
    background: linear-gradient(135deg, #ffffff 0%, #b9ffd0 55%, var(--green-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 34px rgba(0, 200, 83, 0.28);
    margin-bottom: 14px;
}

.sub-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.slogan {
    display: inline-block;
    font-size: 12.5px;
    color: var(--text-dim);
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 999px;
    padding: 8px 18px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ===== App 图标区 ===== */
.app-icons-section {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 6px 2px 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.app-icons-section::-webkit-scrollbar {
    display: none;
}

.app-icon {
    flex: 0 0 auto;
    width: 86px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding: 14px 6px 11px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.app-icon:hover,
.app-icon:active {
    transform: translateY(-3px);
    border-color: rgba(0, 200, 83, 0.5);
    background: rgba(0, 200, 83, 0.08);
}

.app-icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
    padding: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.app-icon span {
    font-size: 12.5px;
    color: var(--text);
    letter-spacing: 0.5px;
}

/* ===== 功能总览大图 ===== */
.features-overview-wrap {
    margin: 8px 0 18px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: #0d1612;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 200, 83, 0.06);
    transition: transform 0.25s ease;
}

.features-overview-wrap:hover {
    transform: translateY(-2px);
}

.features-overview-wrap img {
    width: 100%;
    display: block;
}

/* ===== 立即下载按钮 ===== */
.download-section {
    margin: 6px 0 24px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 56px;
    background: linear-gradient(135deg, var(--green-bright), var(--green-deep));
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 4px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 170, 80, 0.40);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.download-btn:active {
    transform: scale(0.98);
    box-shadow: 0 6px 18px rgba(0, 170, 80, 0.35);
}

.download-btn .btn-icon {
    font-size: 18px;
}

/* ===== 四大特性网格 ===== */
.features-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 14px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 200, 83, 0.4);
}

.feature-item i {
    color: var(--green-bright);
    font-size: 18px;
    flex: 0 0 auto;
}

.feature-item span {
    font-size: 14px;
    color: var(--text);
    letter-spacing: 0.5px;
}

/* ===== 备案信息 ===== */
.bq {
    width: 100%;
    max-width: 600px;
    margin: 24px auto 6px;
    text-align: center;
    color: #9E9E9E;
    font-size: 13px;
    line-height: 1.9;
    padding: 0 16px;
}

.bq a {
    color: rgba(243, 246, 243, 0.55);
    text-decoration: none;
}

/* ===== 查询订单记录按钮 ===== */
.order-wrap {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 4px 16px 0;
    box-sizing: border-box;
}

.order-query {
    display: block;
    width: 100%;
    height: 48px;
    line-height: 48px;
    text-align: center;
    color: var(--green-bright);
    font-size: 15px;
    font-weight: 600;
    background: var(--card);
    border: 1px solid rgba(0, 200, 83, 0.35);
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.order-query:hover {
    background: rgba(0, 200, 83, 0.10);
}

.order-query:active {
    transform: scale(0.98);
}

/* ===== 小屏适配 ===== */
@media (max-width: 480px) {
    body {
        padding-top: 54px;
        padding-bottom: 112px;
    }

    .header,
    .footer {
        height: 54px;
    }

    .header-text,
    .footer-text {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .main-title {
        font-size: 34px;
        letter-spacing: 4px;
    }

    .sub-title {
        font-size: 14.5px;
    }

    .features-section {
        gap: 10px;
    }

    .feature-item {
        padding: 14px 12px;
    }

    .app-icon {
        width: 80px;
    }
}

/* ===========================================================
   以下为历史保留规则（其它页面/弹窗复用，勿删）
   =========================================================== */
.image-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
}

.image-item {
    border-radius: 0;
    overflow: hidden;
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
}

.video-section {
    margin-top: 0;
    border-radius: 0;
    overflow: hidden;
}

.video-section video {
    width: 100%;
    display: block;
}

.wechat-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.bar-text {
    font-size: 15px;
    color: #fff;
    line-height: 1.4;
    flex: 1;
    padding-right: 12px;
}

.wechat-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #07C160;
    color: #fff;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
}

.wechat-btn .wx-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ===== 弹窗遮罩 ===== */
.wx-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===== 弹窗卡片 ===== */
.wx-popup-card {
    background: #fff;
    border-radius: 16px;
    width: 86%;
    max-width: 340px;
    padding: 32px 24px 24px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: popIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== 成功图标 ===== */
.wx-popup-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #07C160, #06AD56);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.35);
}

.wx-popup-icon svg {
    width: 34px;
    height: 34px;
}

/* ===== 标题 ===== */
.wx-popup-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

/* ===== 内容 ===== */
.wx-popup-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    padding: 0 8px;
}

.wx-popup-desc .highlight {
    color: #E54D42;
    font-weight: 600;
}

/* ===== 倒计时条 ===== */
.wx-popup-countdown-wrap {
    background: #f5f5f5;
    border-radius: 10px;
    height: 6px;
    margin-bottom: 18px;
    overflow: hidden;
}

.wx-popup-countdown-bar {
    height: 100%;
    background: linear-gradient(90deg, #07C160, #06AD56);
    border-radius: 10px;
    transition: width 1s linear;
}

/* ===== 倒计时文字 ===== */
.wx-popup-timer {
    font-size: 13px;
    color: #999;
    margin-bottom: 14px;
}

.wx-popup-timer span {
    color: #07C160;
    font-weight: 700;
    font-size: 16px;
    margin: 0 2px;
}

/* ===== 按钮 ===== */
.wx-popup-btns {
    display: flex;
    gap: 10px;
}

.wx-popup-btns .btn {
    flex: 1;
    padding: 12px 0;
    border-radius: 22px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.wx-popup-btns .btn:active {
    transform: scale(0.96);
}

.btn-cancel {
    background: #f0f0f0;
    color: #666;
}

.btn-go {
    background: linear-gradient(135deg, #07C160, #06AD56);
    color: #fff;
    box-shadow: 0 3px 12px rgba(7, 193, 96, 0.3);
}

