* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}
:focus {
    outline: 0
}
img {
    border: none
}
html {
    font-size: 62.5%;
    height: 100%
}
body {
    font-size: 1.2rem;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #000;
    background: #000;
    -webkit-font-smoothing: antialiased
}
body.bg2 {
    background: url(img/bg3.jpg) no-repeat center 0;
    background-size: cover
}
ol, ul {
    list-style: none
}
input[type="button"], input[type="submit"], button {
    cursor: pointer
}
.first_page {
    height: 100%;
    text-align: center
}
.radar_scanner {
    display: none;
    margin: 0 auto;
    text-align: center;
    background: url(img/bg2.jpg) no-repeat center 0;
    background-size: cover;
    height: 100%;
    width: 100%;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0
}
h3.radar_title {
    font-size: 1.6rem;
    padding-top: 40px;
    letter-spacing: 2px
}
.radar_anim {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 260px;
    height: 260px;
    transform: translate(-50%, -50%)
}
.radar_bg {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,40,50,0.85) 0%, rgba(0,20,30,0.92) 60%, rgba(0,10,15,0.96) 100%);
    box-shadow: 0 0 40px rgba(0,220,180,0.25), inset 0 0 30px rgba(0,220,180,0.08);
    border: 2px solid rgba(0,220,180,0.4)
}
.radar_ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 220, 180, 0.35);
    transform: translate(-50%, -50%)
}
.radar_ring--1 {
    width: 220px;
    height: 220px
}
.radar_ring--2 {
    width: 160px;
    height: 160px
}
.radar_ring--3 {
    width: 100px;
    height: 100px
}
.radar_ring--4 {
    width: 40px;
    height: 40px;
    background: rgba(0, 220, 180, 0.12)
}
.radar_cross {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}
.radar_cross::before,
.radar_cross::after {
    content: '';
    position: absolute;
    background: rgba(0, 220, 180, 0.2)
}
.radar_cross::before {
    width: 1px;
    height: 220px;
    top: -110px;
    left: 0
}
.radar_cross::after {
    width: 220px;
    height: 1px;
    top: 0;
    left: -110px
}
.radar_sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110px;
    height: 110px;
    transform-origin: 0 0;
    background: conic-gradient(
        from 0deg,
        rgba(0, 220, 180, 0) 0deg,
        rgba(0, 220, 180, 0.5) 50deg,
        rgba(0, 255, 200, 0.7) 60deg,
        rgba(0, 220, 180, 0) 60deg
    );
    border-radius: 0 110px 0 0;
    animation: radarSpin 2s linear infinite;
    filter: blur(1px)
}
@keyframes radarSpin {
    from { transform: rotate(0deg) }
    to { transform: rotate(360deg) }
}
.radar_dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ffc8;
    box-shadow: 0 0 12px 3px rgba(0,255,200,0.7), 0 0 4px #00ffc8;
    animation: radarBlink 1.5s ease-in-out infinite alternate
}
.radar_dot--1 {
    top: 22%;
    left: 62%;
    animation-delay: 0s
}
.radar_dot--2 {
    top: 58%;
    left: 28%;
    animation-delay: 0.5s
}
.radar_dot--3 {
    top: 72%;
    left: 68%;
    animation-delay: 1s
}
.radar_dot--4 {
    top: 35%;
    left: 35%;
    width: 6px;
    height: 6px;
    animation-delay: 0.3s
}
.radar_dot--5 {
    top: 48%;
    left: 72%;
    width: 5px;
    height: 5px;
    animation-delay: 0.8s
}
@keyframes radarBlink {
    0% { opacity: 0.15; transform: scale(0.6) }
    100% { opacity: 1; transform: scale(1.4) }
}
.radar_pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(0, 220, 180, 0.5);
    animation: radarPulse 2s ease-out infinite
}
.radar_pulse--2 {
    animation-delay: 1s
}
@keyframes radarPulse {
    0% { width: 40px; height: 40px; opacity: 0.8 }
    100% { width: 240px; height: 240px; opacity: 0 }
}
#popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: url(img/bg1.jpg) center center no-repeat #000;
    background-size: auto 100%; /* 高度自适应屏幕高度，宽度按比例缩放 */
}
.popup_alert {
    position: absolute;
    width: 320px;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    height: fit-content;
    z-index: 100;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    font-size: 1.3rem;
    text-align: center
}
.popup_alert .alert_text {
    padding: 28px 22px 18px
}
.popup_alert .alert_text h5 {
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.55;
    color: #1c1c1e
}
.popup_actions {
    display: flex;
    border-top: 0.5px solid rgba(60, 60, 67, 0.18)
}
.popup_btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
    text-decoration: none;
    font-size: 1.7rem;
    font-weight: 400;
    transition: background 0.15s ease
}
.popup_btn:active {
    background: rgba(0, 0, 0, 0.06)
}
.popup_btn--primary {
    color: #007aff;
    font-weight: 600;
    border-left: 0.5px solid rgba(60, 60, 67, 0.18)
}
.popup_btn--secondary {
    color: #007aff
}
.second_page {
    display: none
}
.intro_image {
    display: inline-block
}
.second_page .step {
    display: none;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(50px) saturate(180%);
    -webkit-backdrop-filter: blur(50px) saturate(180%);
    color: #1c1c1e;
    box-shadow: 0 8px 46px rgba(0, 0, 0, 0.28);
    border-radius: 14px;
    border: 0.5px solid rgba(255, 255, 255, 0.5);
    width: 600px;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    margin: -150px auto 0;
    line-height: 28px;
    font-size: 2.2rem;
    text-align: center;
    overflow: hidden
}
.second_page .step1 {
    display: block
}
.second_page .step1, .second_page .step2, .second_page .step3, .second_page .step4, .second_page .step5 {
    margin-top: -125px
}
.step_header {
    padding: 20px 20px 14px;
    background: transparent;
    color: #1c1c1e;
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    letter-spacing: -0.2px
}
.step_header ul {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}
.step_header li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #8e8e93;
    font-weight: 500
}
.step_header li:first-child {
    margin-right: 4px;
    font-size: 1.6rem;
    color: #1c1c1e;
    font-weight: 600
}
.circle {
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #e5e5ea;
    color: #8e8e93;
    font-size: 1.3rem;
    text-shadow: none;
    font-weight: 600
}
.circle.active {
    color: #fff;
    background: #007aff;
    font-weight: 700
}
.step_content {
    padding: 0 24px 24px;
    text-align: left
}
.step_content p {
    margin: 8px 0;
    line-height: 1.55;
    color: #3a3a3c;
    font-size: 1.5rem
}
.button_block {
    text-align: center;
    padding-top: 16px;
    clear: both;
    overflow: hidden;
    display: flex;
    gap: 10px;
    justify-content: center
}
.button_block a {
    color: #fff;
    cursor: pointer;
    font-size: 1.7rem;
    flex: 1;
    max-width: 45%;
    padding: 13px 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.12s ease, filter 0.12s ease;
    letter-spacing: -0.1px
}
.button_block a:active {
    transform: scale(0.97);
    filter: brightness(0.92)
}
.btn_ok, .btn_next, .btn_start {
    background: #007aff;
    max-width: 60%
}
.button_block a.btn_no {
    background: #e5e5ea;
    color: #1c1c1e;
    border-radius: 10px
}
.button_block a.btn_yes {
    background: #007aff;
    color: #fff;
    border-radius: 10px
}
.checkbox_wrap {
    width: 100%;
    margin: 0 auto
}
.notice {
    font-size: 1.4rem;
    margin: 4px 0 12px;
    text-align: center;
    color: #8e8e93
}
.option {
    color: #1c1c1e;
    display: flex;
    align-items: center;
    padding: 14px 44px 14px 16px;
    margin-bottom: 0;
    position: relative;
    line-height: 20px;
    cursor: pointer;
    background: #fff;
    border-radius: 0;
    border: none;
    border-bottom: 0.5px solid rgba(60, 60, 67, 0.12);
    transition: background 0.1s ease;
    font-size: 1.6rem;
    font-weight: 400
}
.option:first-child {
    border-radius: 10px 10px 0 0
}
.option:last-child {
    border-radius: 0 0 10px 10px;
    border-bottom: none
}
.option:only-child {
    border-radius: 10px
}
.option:active {
    background: #e5e5ea
}
.option:after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 22px;
    height: 22px;
    box-sizing: border-box;
    border: 2px solid #c7c7cc;
    border-radius: 50%;
    left: auto;
    transition: background 0.15s ease, border-color 0.15s ease
}
.option.checked {
    background: #fff
}
.option.checked:after {
    background: #007aff url(img/checked.png) center center no-repeat;
    background-size: 12px;
    border-color: #007aff
}
.step_final {
    padding: 36px 24px 30px;
    text-align: center
}
.final_badge {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(145deg, #34c759, #30b350);
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(52, 199, 89, 0.35);
    animation: badgePop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both
}
@keyframes badgePop {
    from { transform: scale(0); opacity: 0 }
    to { transform: scale(1); opacity: 1 }
}
.final_title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #1c1c1e;
    margin: 0 0 10px;
    letter-spacing: -0.3px
}
.final_desc {
    font-size: 1.6rem;
    color: #3a3a3c;
    margin: 0 0 4px;
    line-height: 1.55
}
.final_desc strong {
    color: #007aff;
    font-weight: 700;
    font-size: 2rem
}
.final_note {
    font-size: 1.3rem;
    color: #8e8e93;
    margin: 0 0 26px
}
.final_app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: #f2f2f7;
    border-radius: 16px;
    padding: 22px 20px;
    margin: 0 0 20px;
    position: relative;
    overflow: hidden
}
.final_app::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(0, 122, 255, 0.06)
}
.final_app::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(52, 199, 89, 0.06)
}
.final_logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 1
}
.final_app_info {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 3px;
    position: relative;
    z-index: 1
}
.final_app_name {
    font-size: 1.7rem;
    font-weight: 600;
    color: #1c1c1e
}
.final_app_sub {
    font-size: 1.3rem;
    color: #8e8e93
}
.final_download {
    display: block;
    width: 100%;
    padding: 16px 0;
    background: #007aff;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: 14px;
    transition: transform 0.12s ease, filter 0.12s ease;
    letter-spacing: -0.1px;
    position: relative;
    overflow: hidden
}
.final_download::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: btnShine 2.5s ease-in-out infinite
}
@keyframes btnShine {
    0% { left: -100% }
    50% { left: 120% }
    100% { left: 120% }
}
.final_download:active {
    transform: scale(0.97);
    filter: brightness(0.9)
}
.icon-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 15px 0
}
.icon-button {
    display: inline-block;
    text-align: center
}
.icon-button img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 20px
}
@media (max-width: 600px) {
    html {
        font-size: 55%
    }
    .second_page .step {
        max-width: 600px;
        width: calc(100% - 32px);
        margin-left: 16px;
        margin-right: 16px;
        border-radius: 14px
    }
    .popup_alert {
        width: 88%;
        max-width: 300px
    }
    .step_header {
        padding: 12px 12px
    }
    .step_content {
        padding: 14px 16px 18px;
        line-height: 1.4
    }
    .checkbox_wrap {
        width: 100%
    }
    .button_block a {
        font-size: 1.6rem;
        padding: 12px 0
    }
    #popup-wrapper {
        background-position: 0 0
    }
    .final_logo {
        width: 50px;
        height: 50px
    }
}
@media (max-height: 650px) {
    #popup-wrapper {
        background-position: center 0
    }
}
@media (max-height: 375px) {
    #popup-wrapper {
        background-position: right 0
    }
}