* {
    box-sizing: border-box;
}

:root {
    --bg: #07111f;
    --bg-soft: #0a1728;
    --panel: #0d1c30;
    --panel-light: rgba(255, 255, 255, 0.055);
    --text: #f4f8ff;
    --muted: #93a5bc;
    --line: rgba(255, 255, 255, 0.09);
    --blue: #2c8dff;
    --cyan: #4fe3ff;
    --purple: #7768ff;
    --green: #29d18c;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 50% -10%, rgba(44, 141, 255, 0.13), transparent 34%),
        var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 88%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.page-glow {
    position: fixed;
    z-index: -2;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    opacity: .22;
}

.glow-one {
    top: 10%;
    right: -180px;
    background: #2c8dff;
}

.glow-two {
    left: -220px;
    top: 58%;
    background: #7768ff;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 17, 31, .78);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 41px;
    height: 41px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    box-shadow: 0 10px 24px rgba(44, 141, 255, .28);
}

.brand-mark.small {
    width: 36px;
    height: 36px;
    font-size: 18px;
}

.brand-copy strong,
.brand-copy small {
    display: block;
}

.brand-copy strong {
    font-size: 18px;
    letter-spacing: .06em;
}

.brand-copy small {
    color: var(--muted);
    font-size: 11px;
    margin-top: 1px;
}

.nav {
    display: flex;
    gap: 32px;
    color: #b8c6d9;
    font-size: 14px;
}

.nav a {
    position: relative;
    padding: 27px 0;
}

.nav a:hover {
    color: #fff;
}

.header-button {
    padding: 10px 17px;
    border: 1px solid rgba(79, 227, 255, .34);
    border-radius: 10px;
    color: #dffaff;
    font-size: 13px;
    font-weight: 700;
    background: rgba(79, 227, 255, .07);
}

.hero {
    position: relative;
    overflow: hidden;
    padding-top: 42px;
}

.hero-grid {
    min-height: 710px;
    display: grid;
    grid-template-columns: .94fr 1.06fr;
    align-items: center;
    gap: 70px;
    padding: 55px 0 70px;
}

.eyebrow,
.section-kicker {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eyebrow span {
    width: 34px;
    height: 1px;
    background: var(--cyan);
}

.hero h1 {
    margin: 18px 0 0;
    font-size: clamp(48px, 6.7vw, 86px);
    line-height: 1.07;
    letter-spacing: -.058em;
}

.hero-desc {
    max-width: 620px;
    margin: 27px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.9;
}

.hero-actions,
.download-actions {
    display: flex;
    gap: 13px;
    margin-top: 34px;
}

.download-button {
    min-width: 190px;
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 14px;
    transition: .22s ease;
}

.download-button:hover {
    transform: translateY(-2px);
}

.download-button.primary {
    color: #04101e;
    background: linear-gradient(135deg, var(--cyan), #74a5ff);
    box-shadow: 0 18px 40px rgba(44, 141, 255, .24);
}

.download-button.secondary {
    color: var(--text);
    border-color: var(--line);
    background: var(--panel-light);
}

.download-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    background: rgba(255,255,255,.12);
}

.primary .download-icon {
    color: #06111e;
    background: rgba(6, 17, 30, .11);
}

.download-button small,
.download-button strong {
    display: block;
}

.download-button small {
    opacity: .72;
    font-size: 11px;
}

.download-button strong {
    margin-top: 1px;
    font-size: 15px;
}

.hero-meta {
    display: flex;
    gap: 20px;
    margin-top: 26px;
    color: #8296b0;
    font-size: 12px;
}

.hero-meta span::before {
    content: "•";
    margin-right: 8px;
    color: var(--cyan);
}

.hero-visual {
    position: relative;
    min-height: 600px;
}

.visual-grid {
    position: absolute;
    inset: 15px 0 0 0;
    border: 1px solid rgba(79, 227, 255, .12);
    border-radius: 50%;
}

.visual-grid::before,
.visual-grid::after {
    content: "";
    position: absolute;
    inset: 60px;
    border: 1px solid rgba(79, 227, 255, .09);
    border-radius: 50%;
}

.visual-grid::after {
    inset: 125px;
}

.phone {
    position: absolute;
    overflow: hidden;
    border: 7px solid #111823;
    border-radius: 38px;
    background: #fff;
    box-shadow: var(--shadow);
}

.phone::before {
    content: "";
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 7px;
    width: 92px;
    height: 22px;
    border-radius: 0 0 14px 14px;
    background: #111823;
    transform: translateX(-50%);
}

.phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.phone-front {
    z-index: 3;
    width: 286px;
    height: 572px;
    right: 48px;
    top: 4px;
    transform: rotate(2deg);
}

.phone-back {
    z-index: 1;
    width: 232px;
    height: 464px;
    left: 14px;
    top: 88px;
    opacity: .92;
    transform: rotate(-7deg);
}

.floating-panel {
    position: absolute;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(10, 23, 40, .9);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

.floating-panel strong,
.floating-panel small {
    display: block;
}

.floating-panel strong {
    font-size: 13px;
}

.floating-panel small {
    color: var(--muted);
    font-size: 11px;
}

.panel-message {
    right: 0;
    top: 88px;
}

.panel-coin {
    left: 18px;
    bottom: 0;
}

.panel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(41, 209, 140, .12);
}

.coin {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #7c4b00;
    font-weight: 900;
    background: #ffd05f;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.trust-row > div {
    padding: 27px 20px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.trust-row > div:last-child {
    border-right: 0;
}

.trust-row strong,
.trust-row span {
    display: block;
}

.trust-row strong {
    font-size: 18px;
}

.trust-row span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.section {
    padding: 105px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 46px;
}

.section-heading.centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading h2,
.community-copy h2,
.download-copy h2 {
    margin: 12px 0 0;
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1.16;
    letter-spacing: -.045em;
}

.section-heading p,
.community-copy > p,
.download-copy p {
    margin: 17px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.85;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    position: relative;
    min-height: 270px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}

.feature-card::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -80px;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(79, 227, 255, .08);
    border-radius: 50%;
}

.feature-number {
    position: absolute;
    right: 23px;
    top: 20px;
    color: rgba(255,255,255,.13);
    font-size: 28px;
    font-weight: 800;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--cyan);
    font-weight: 900;
    background: rgba(79, 227, 255, .08);
    border: 1px solid rgba(79, 227, 255, .14);
}

.feature-card h3 {
    margin: 25px 0 9px;
    font-size: 21px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.community-section {
    background:
        linear-gradient(180deg, rgba(255,255,255,.015), transparent),
        var(--bg-soft);
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr .92fr;
    align-items: center;
    gap: 80px;
}

.community-points {
    margin-top: 34px;
}

.community-points > div {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 13px;
    padding: 17px 0;
    border-top: 1px solid var(--line);
}

.community-points span {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
}

.community-points p {
    margin: 0;
    color: var(--muted);
}

.community-points strong {
    display: block;
    margin-bottom: 3px;
    color: var(--text);
}

.community-preview {
    position: relative;
    min-height: 620px;
}

.preview-card {
    position: absolute;
    overflow: hidden;
    border: 6px solid #111823;
    border-radius: 31px;
    background: #fff;
    box-shadow: var(--shadow);
}

.preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.card-main {
    z-index: 2;
    right: 20px;
    top: 0;
    width: 310px;
    height: 620px;
}

.card-side {
    left: 5px;
    bottom: 14px;
    width: 220px;
    height: 440px;
    transform: rotate(-6deg);
    opacity: .9;
}

.app-section {
    overflow: hidden;
}

.screen-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.screen-grid figure {
    margin: 0;
    padding: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: rgba(255,255,255,.035);
}

.screen-grid img {
    width: 100%;
    aspect-ratio: 9 / 18.5;
    object-fit: cover;
    object-position: top;
    border-radius: 16px;
}

.screen-grid figcaption {
    padding: 12px 4px 7px;
    text-align: center;
    color: #c6d2e1;
    font-size: 13px;
}

.download-section {
    padding: 45px 0 95px;
}

.download-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    padding: 58px 62px;
    border: 1px solid rgba(79, 227, 255, .16);
    border-radius: 25px;
    background:
        radial-gradient(circle at 85% 30%, rgba(119,104,255,.27), transparent 35%),
        linear-gradient(135deg, #0e3f76, #153064 55%, #271f64);
    box-shadow: 0 28px 70px rgba(0,0,0,.26);
}

.section-kicker.light {
    color: #d8f7ff;
}

.download-copy p {
    color: rgba(255,255,255,.7);
}

.download-actions {
    margin-top: 0;
    flex-shrink: 0;
}

.light-button {
    color: #06101d;
    background: #fff;
}

.dark-icon {
    color: #fff;
    background: #0c1728;
}

.glass-button {
    color: #fff;
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.08);
}

.footer {
    padding: 48px 0 28px;
    border-top: 1px solid var(--line);
    background: #050c16;
}

.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 35px;
}

.footer-inner > p {
    margin: 0;
    color: #788aa2;
    font-size: 13px;
}

.footer-meta {
    display: flex;
    gap: 15px;
    color: #65758b;
    font-size: 12px;
}

@media (max-width: 1000px) {
    .hero-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .community-copy {
        text-align: center;
    }

    .eyebrow {
        justify-content: center;
    }

    .hero-desc {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-actions,
    .hero-meta {
        justify-content: center;
    }

    .hero-visual {
        width: min(620px, 100%);
        margin: 0 auto;
    }

    .community-points {
        text-align: left;
    }

    .community-preview {
        width: min(560px, 100%);
        margin: 0 auto;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .screen-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .download-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .nav {
        display: none;
    }

    .header-button {
        display: none;
    }

    .hero {
        padding-top: 10px;
    }

    .hero-grid {
        min-height: auto;
        padding: 65px 0 55px;
    }

    .hero h1 {
        font-size: 47px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-actions,
    .download-actions {
        flex-direction: column;
    }

    .download-button {
        width: 100%;
    }

    .hero-meta {
        flex-direction: column;
        gap: 5px;
    }

    .hero-visual {
        min-height: 475px;
    }

    .phone-front {
        width: 220px;
        height: 440px;
        right: 0;
    }

    .phone-back {
        width: 180px;
        height: 360px;
        left: 0;
    }

    .floating-panel {
        display: none;
    }

    .trust-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-row > div:nth-child(2) {
        border-right: 0;
    }

    .trust-row > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .section {
        padding: 74px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .community-preview {
        min-height: 500px;
    }

    .card-main {
        width: 250px;
        height: 500px;
        right: 0;
    }

    .card-side {
        width: 170px;
        height: 340px;
    }

    .screen-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-panel {
        padding: 35px 24px;
    }

    .download-copy h2 {
        font-size: 38px;
    }
}


/* iOS 准备中弹窗 */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    background: rgba(2, 8, 17, .72);
    backdrop-filter: blur(12px);
    transition: opacity .22s ease, visibility .22s ease;
}

.modal-overlay.is-open {
    visibility: visible;
    opacity: 1;
}

.modal-card {
    position: relative;
    width: min(430px, 100%);
    padding: 38px 34px 30px;
    overflow: hidden;
    border: 1px solid rgba(79, 227, 255, .2);
    border-radius: 24px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(44, 141, 255, .24), transparent 44%),
        linear-gradient(145deg, rgba(15, 32, 54, .98), rgba(7, 17, 31, .98));
    box-shadow:
        0 30px 90px rgba(0, 0, 0, .55),
        inset 0 1px 0 rgba(255, 255, 255, .05);
    transform: translateY(18px) scale(.97);
    transition: transform .22s ease;
}

.modal-overlay.is-open .modal-card {
    transform: translateY(0) scale(1);
}

.modal-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18%;
    width: 64%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.modal-close {
    position: absolute;
    top: 13px;
    right: 15px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #9eb0c6;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    background: rgba(255, 255, 255, .04);
}

.modal-close:hover {
    color: #fff;
    border-color: rgba(79, 227, 255, .3);
}

.modal-status-icon {
    position: relative;
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    border: 1px solid rgba(79, 227, 255, .22);
    border-radius: 22px;
    background: rgba(79, 227, 255, .07);
    box-shadow: 0 0 45px rgba(44, 141, 255, .18);
}

.modal-status-icon::before,
.modal-status-icon::after,
.modal-status-icon span {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.modal-status-icon::before {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(79, 227, 255, .25);
    border-top-color: var(--cyan);
    animation: ios-modal-spin 1.2s linear infinite;
}

.modal-status-icon::after {
    width: 7px;
    height: 7px;
    background: var(--cyan);
    box-shadow: 0 0 16px var(--cyan);
}

.modal-kicker {
    display: block;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
}

.modal-card h2 {
    margin: 10px 0 0;
    font-size: 30px;
    letter-spacing: -.03em;
}

.modal-card p {
    max-width: 330px;
    margin: 15px auto 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.modal-confirm {
    width: 100%;
    min-height: 50px;
    margin-top: 26px;
    border: 0;
    border-radius: 13px;
    color: #06101d;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient(135deg, var(--cyan), #74a5ff);
    box-shadow: 0 14px 32px rgba(44, 141, 255, .2);
}

.modal-confirm:hover {
    filter: brightness(1.04);
}

body.modal-open {
    overflow: hidden;
}

@keyframes ios-modal-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 520px) {
    .modal-card {
        padding: 34px 22px 24px;
        border-radius: 20px;
    }

    .modal-card h2 {
        font-size: 26px;
    }
}
