:root {
    color-scheme: light;
    --bg: #f5f7fb;
    --surface: #ffffff;
    --ink: #101114;
    --muted: #626875;
    --soft: #e7ebf2;
    --brand: #ff4f91;
    --brand-dark: #141414;
    --blue: #2f7df6;
    --mint: #13b79a;
    --yellow: #ffd84a;
    --shadow: 0 22px 70px rgba(23, 29, 42, .12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background:
        radial-gradient(circle at 18% 8%, rgba(255, 216, 74, .22), transparent 27rem),
        radial-gradient(circle at 82% 18%, rgba(47, 125, 246, .18), transparent 28rem),
        var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

button {
    font: inherit;
}

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

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    height: 3px;
    transform-origin: left;
    background: linear-gradient(90deg, var(--brand), var(--blue), var(--mint));
}

@supports (animation-timeline: scroll()) {
    .scroll-progress {
        scale: 0 1;
        animation: progress linear both;
        animation-timeline: scroll();
    }

    @keyframes progress {
        to { scale: 1 1; }
    }
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 72px;
    color: #fff;
    background: rgba(16, 17, 20, .86);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px);
}

.nav {
    width: min(1180px, calc(100% - 48px));
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand-logo img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
}

.nav-links a {
    transition: color .2s ease;
}

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

.hero {
    padding: 64px 0 68px;
    overflow: clip;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr);
    gap: 44px;
    align-items: center;
}

.hero-left {
    max-width: 560px;
}

.mobile-app-badge {
    display: none;
}

.small-title,
.section-heading span {
    display: inline-block;
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.hero h1 {
    margin-top: 18px;
    font-size: clamp(48px, 7vw, 84px);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: 0;
}

.hero-copy {
    margin-top: 28px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.9;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 38px;
}

.download {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.download {
    min-width: 178px;
    padding: 0 22px;
    background: var(--surface);
    border: 1px solid var(--soft);
    box-shadow: 0 12px 34px rgba(23, 29, 42, .08);
}

.download.dark {
    color: #fff;
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}

.download:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.button-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
}

.download:not(.dark) .button-icon {
    color: #fff;
    background: var(--blue);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
    color: var(--muted);
}

.hero-meta span {
    padding: 8px 12px;
    border: 1px solid var(--soft);
    border-radius: 999px;
    background: rgba(255, 255, 255, .64);
}

.hero-right {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
}

.app-shot {
    position: relative;
    z-index: 2;
    width: min(390px, 78vw);
    height: auto;
    filter: drop-shadow(0 34px 58px rgba(9, 11, 17, .22));
}

.halo {
    position: absolute;
    border-radius: 34px;
    transform: rotate(-9deg);
    filter: saturate(1.08);
}

.halo-yellow {
    width: 176px;
    height: 176px;
    top: 48px;
    left: 12%;
    background: var(--yellow);
}

.halo-blue {
    width: 152px;
    height: 152px;
    top: 135px;
    right: 8%;
    background: #d8ebff;
}

.halo-pink {
    width: 190px;
    height: 190px;
    bottom: 38px;
    left: 35%;
    background: #ff6f78;
}

.floating-card {
    position: absolute;
    z-index: 3;
    min-width: 126px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 18px;
    background: rgba(255, 255, 255, .76);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.floating-card strong {
    display: block;
    font-size: 28px;
}

.floating-card span {
    color: var(--muted);
    font-size: 14px;
}

.card-top {
    top: 95px;
    right: 4%;
}

.card-bottom {
    bottom: 120px;
    left: 6%;
}

section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 780px;
}

.section-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s ease;
}

.section-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.features,
.guide,
.about {
    padding: 92px 0;
}

.section-heading {
    margin-bottom: 48px;
    text-align: center;
}

.section-heading h2,
.about-copy h2 {
    margin-top: 12px;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.18;
    font-weight: 950;
    letter-spacing: 0;
}

.feature-card,
.about-card {
    border: 1px solid rgba(231, 235, 242, .95);
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 16px 46px rgba(23, 29, 42, .07);
}

.feature-card p,
.about-card p,
.guide-item p {
    color: var(--muted);
    line-height: 1.75;
}

.features {
    background: #fff;
}

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

.feature-card {
    min-height: 245px;
    padding: 28px;
    border-radius: 18px;
}

.feature-card span {
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
}

.feature-card h3 {
    margin-top: 26px;
    font-size: 24px;
}

.feature-card p {
    margin-top: 14px;
}

.guide-list {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.guide-item {
    width: 270px;
    text-align: center;
}

.number {
    width: 86px;
    height: 86px;
    margin-inline: auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--brand-dark);
    font-size: 30px;
    font-weight: 950;
}

.guide-item h3 {
    margin-top: 26px;
    font-size: 24px;
}

.guide-item p {
    margin-top: 12px;
}

.line {
    width: 120px;
    height: 2px;
    margin: 42px 14px 0;
    background: linear-gradient(90deg, transparent, #cbd2dc, transparent);
}

.about {
    background: #101114;
    color: #fff;
}

.about-inner {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 46px;
    align-items: center;
}

.about-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.about-card {
    min-height: 230px;
    padding: 24px;
    border-color: rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .08);
    box-shadow: none;
}

.about-card span {
    font-weight: 950;
    color: var(--yellow);
}

.about-card h3 {
    margin-top: 28px;
    font-size: 22px;
}

.about-card p {
    margin-top: 12px;
    color: rgba(255, 255, 255, .68);
}

footer {
    padding: 38px 24px;
    color: #8b92a0;
    text-align: center;
}

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

    .hero-left {
        max-width: 100%;
        text-align: center;
    }

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

    .hero-right {
        min-height: 520px;
    }

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

@media (max-width: 720px) {
    body {
        background:
            radial-gradient(circle at 50% 0, rgba(255, 79, 145, .16), transparent 18rem),
            var(--bg);
    }

    .container,
    .nav {
        width: min(100% - 28px, 1180px);
    }

    .navbar {
        display: none;
    }

    .hero {
        min-height: 100svh;
        padding: 18px 0 28px;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: center;
    }

    .hero-left {
        display: contents;
    }

    .mobile-app-badge {
        order: 1;
        width: min(100%, 330px);
        padding: 12px;
        display: flex;
        align-items: center;
        gap: 12px;
        border: 1px solid rgba(231, 235, 242, .95);
        border-radius: 18px;
        background: rgba(255, 255, 255, .8);
        box-shadow: 0 14px 38px rgba(23, 29, 42, .08);
        backdrop-filter: blur(16px);
    }

    .mobile-app-badge img {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        object-fit: contain;
    }

    .mobile-app-badge strong,
    .mobile-app-badge span {
        display: block;
        text-align: left;
    }

    .mobile-app-badge strong {
        font-size: 17px;
    }

    .mobile-app-badge span {
        margin-top: 3px;
        color: var(--muted);
        font-size: 13px;
    }

    .small-title {
        display: none;
        order: 1;
        font-size: 11px;
        letter-spacing: .12em;
    }

    .hero h1 {
        order: 2;
        margin-top: 10px;
        font-size: 36px;
        line-height: 1.08;
    }

    .hero-copy {
        order: 3;
        max-width: 310px;
        margin-top: 12px;
        font-size: 15px;
        line-height: 1.58;
    }

    .hero-meta {
        order: 6;
        margin-top: 10px;
        gap: 8px;
    }

    .hero-meta span {
        padding: 6px 10px;
        font-size: 13px;
    }

    .hero-right {
        order: 5;
        width: 100%;
        min-height: 230px;
        margin-top: 12px;
    }

    .app-shot {
        width: min(205px, 58vw);
    }

    .floating-card {
        display: none;
    }

    .halo-yellow {
        width: 70px;
        height: 70px;
        top: 18px;
        left: 46px;
        opacity: .82;
    }

    .halo-blue {
        width: 66px;
        height: 66px;
        top: 70px;
        right: 48px;
        opacity: .78;
    }

    .halo-pink {
        width: 76px;
        height: 76px;
        bottom: 18px;
        left: 36%;
        opacity: .76;
    }

    .buttons {
        order: 4;
        width: min(100%, 330px);
        margin-top: 16px;
        gap: 10px;
    }

    .download {
        flex: 1 1 100%;
        min-height: 54px;
        border-radius: 12px;
        box-shadow: 0 16px 42px rgba(23, 29, 42, .14);
    }

    .download.dark {
        background: linear-gradient(135deg, #111, #2b2b2f);
    }

    .features,
    .guide,
    .about {
        padding: 58px 0;
    }

    .section-heading {
        margin-bottom: 26px;
    }

    .section-heading h2,
    .about-copy h2 {
        font-size: 30px;
    }

    .feature-grid,
    .about-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-card {
        min-height: auto;
        padding: 22px;
    }

    .feature-card h3 {
        margin-top: 18px;
        font-size: 21px;
    }

    .guide-list {
        flex-direction: column;
        align-items: center;
        gap: 34px;
    }

    .guide-item {
        width: min(100%, 300px);
    }

    .number {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }

    .about-card {
        min-height: auto;
    }

    .about-copy {
        text-align: center;
    }

    .line {
        width: 2px;
        height: 58px;
        margin: 0;
        background: linear-gradient(180deg, transparent, #cbd2dc, transparent);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
