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

:root {
    --blue: #0875ff;
    --blue-dark: #005fe9;
    --purple: #7a55ff;
    --ink: #07172d;
    --text: #344966;
    --muted: #7f90aa;
    --line: #e2e9f3;
    --soft: #f5f8fc;
    --footer: #030818;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: var(--ink);
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
}

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

button {
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

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

.container {
    width: min(100% - 144px, 1236px);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    z-index: 30;
    top: 0;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid #edf1f6;
    backdrop-filter: blur(16px);
}

.header-inner {
    display: grid;
    grid-template-columns: 160px 1fr 160px;
    align-items: center;
    min-height: 64px;
}

.brand img {
    width: 82px;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 78px;
    color: #667891;
    font-size: 0.92rem;
    font-weight: 800;
}

.nav-links a:hover {
    color: var(--blue);
}

.free-btn {
    justify-self: end;
    min-width: 92px;
    min-height: 36px;
    color: #ffffff;
    background: var(--blue);
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 850;
    box-shadow: 0 12px 26px rgba(8, 117, 255, 0.18);
}

.hero {
    background: linear-gradient(90deg, #f5f3ff 0%, #ffffff 42%, #ffffff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.88fr);
    align-items: center;
    min-height: 742px;
    gap: 86px;
}

.trust-badge {
    width: 224px;
    margin-bottom: 28px;
}

.hero h1 {
    max-width: 560px;
    font-size: 3.12rem;
    font-weight: 950;
    line-height: 1.12;
}

.hero h1 span,
.team-copy h2 span {
    color: var(--blue);
}

.hero-copy p {
    max-width: 550px;
    margin-top: 22px;
    color: #6d7e97;
    font-size: 1.02rem;
}

.hero-copy {
    padding-left: 70px;
}

.download-row {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.hero-download {
    display: grid;
    align-content: center;
    min-width: 132px;
    min-height: 54px;
    padding: 0 20px;
    color: #ffffff;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 16px 28px rgba(8, 117, 255, 0.2);
}

.hero-download strong {
    font-size: 0.78rem;
    opacity: 0.72;
}

.hero-download span {
    font-size: 1rem;
    font-weight: 900;
}

.hero-download.ios {
    background: #151b2b;
}

.hero-download.android {
    background: linear-gradient(135deg, #8a5cff, #653dff);
}

.hero-download.desktop {
    min-width: 172px;
    background: var(--blue);
}

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

.phone-main {
    position: absolute;
    right: 38px;
    top: 14px;
    width: 330px;
    filter: drop-shadow(0 24px 34px rgba(12, 28, 64, 0.18));
    animation: phoneDrift 6s ease-in-out infinite;
    will-change: transform;
}

.phone-message {
    position: absolute;
    right: 0;
    top: 76px;
    width: 286px;
    filter: drop-shadow(0 18px 24px rgba(12, 28, 64, 0.12));
    animation: floatLayer 5.4s ease-in-out infinite;
    will-change: transform;
}

.rating-art {
    position: absolute;
    left: 108px;
    top: 188px;
    width: 118px;
    animation: floatLayer 5.2s ease-in-out infinite reverse;
    will-change: transform;
}

.security-art {
    position: absolute;
    left: 112px;
    top: 430px;
    width: 174px;
    animation: floatLayerSoft 5.8s ease-in-out infinite;
    will-change: transform;
}

.motion-item {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.62s ease, transform 0.62s ease;
}

.motion-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero .motion-item {
    opacity: 1;
    transform: none;
}

.feature-section .section-heading.motion-item {
    opacity: 1;
    transform: none;
}

.feature-card.motion-item:nth-child(2),
.platform-card.motion-item:nth-child(2) {
    transition-delay: 0.06s;
}

.feature-card.motion-item:nth-child(3),
.platform-card.motion-item:nth-child(3) {
    transition-delay: 0.12s;
}

.feature-card.motion-item:nth-child(4),
.platform-card.motion-item:nth-child(4) {
    transition-delay: 0.18s;
}

.feature-card.motion-item:nth-child(5) {
    transition-delay: 0.03s;
}

.feature-card.motion-item:nth-child(6) {
    transition-delay: 0.09s;
}

.feature-card.motion-item:nth-child(7) {
    transition-delay: 0.15s;
}

.feature-card.motion-item:nth-child(8) {
    transition-delay: 0.21s;
}

.feature-card,
.platform-card,
.team-feature-grid article {
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.feature-card:hover,
.platform-card:hover,
.team-feature-grid article:hover {
    border-color: #c5d9f5;
    box-shadow: 0 18px 42px rgba(24, 52, 98, 0.1);
    transform: translateY(-4px);
}

.hero-download,
.free-btn {
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.hero-download:hover,
.free-btn:hover {
    transform: translateY(-2px);
}

.feature-section,
.download-section {
    background: var(--soft);
}

.feature-section {
    padding: 86px 0 100px;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-heading span,
.team-copy > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 14px;
    color: var(--blue);
    background: #e7f1ff;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 900;
}

.section-heading h2,
.team-copy h2 {
    margin-top: 14px;
    font-size: 2.36rem;
    font-weight: 950;
    line-height: 1.14;
}

.section-heading p,
.team-copy p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.98rem;
}

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

.feature-card {
    min-height: 170px;
    padding: 28px 24px;
    background: #ffffff;
    border: 1px solid #e8eef6;
    border-radius: 8px;
}

.feature-card img {
    width: 46px;
    height: 46px;
}

.feature-card h3 {
    margin-top: 20px;
    font-size: 1rem;
    font-weight: 900;
}

.feature-card p {
    margin-top: 10px;
    color: #7a8ca5;
    font-size: 0.84rem;
}

.team-section {
    padding: 94px 0 110px;
    background: #ffffff;
}

.team-grid {
    display: grid;
    grid-template-columns: minmax(420px, 0.98fr) minmax(0, 1fr);
    align-items: center;
    gap: 88px;
}

.team-images {
    position: relative;
    min-height: 515px;
}

.chat-back,
.chat-front {
    position: absolute;
    width: 365px;
    border-radius: 8px;
    filter: drop-shadow(0 24px 44px rgba(24, 52, 98, 0.16));
}

.chat-back {
    left: 18px;
    top: 142px;
    opacity: 0.55;
}

.chat-front {
    left: 112px;
    top: 0;
}

.team-copy h2 {
    max-width: 520px;
    font-size: 2.54rem;
}

.team-copy p {
    max-width: 540px;
}

.team-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
}

.team-feature-grid article {
    min-height: 84px;
    padding: 20px 22px;
    background: #f7faff;
    border: 1px solid #e5edf7;
    border-radius: 8px;
}

.team-feature-grid strong {
    display: block;
    font-size: 0.94rem;
}

.team-feature-grid small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.78rem;
}

.download-section {
    padding: 96px 0 96px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 62px;
    margin-top: 56px;
}

.platform-card {
    display: grid;
    justify-items: center;
    min-height: 188px;
    padding: 28px 20px 22px;
    background: #ffffff;
    border: 1px solid #e5edf7;
    border-radius: 8px;
    text-align: center;
}

.platform-card img {
    width: 46px;
    height: 46px;
    padding: 10px;
    background: #101828;
    border-radius: 8px;
}

.platform-card:nth-child(2) img,
.platform-card:nth-child(3) img {
    background: var(--blue);
}

.platform-card:nth-child(4) img {
    background: #18b8a2;
}

.platform-card h3 {
    margin-top: 16px;
    font-size: 0.94rem;
    font-weight: 900;
}

.platform-card p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.78rem;
}

.platform-card button {
    width: 100%;
    min-height: 30px;
    margin-top: 18px;
    color: #ffffff;
    background: #101828;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 850;
}

.platform-card:nth-child(2) button,
.platform-card:nth-child(3) button {
    background: var(--blue);
}

.platform-card:nth-child(4) button {
    background: #18b8a2;
}

.qr-panel {
    display: grid;
    grid-template-columns: 280px 1fr 160px;
    align-items: center;
    gap: 54px;
    margin-top: 56px;
    padding: 48px 54px;
    background: #ffffff;
    border: 1px solid #dfe8f4;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(24, 52, 98, 0.08);
}

.qr-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.qr-group > div {
    text-align: center;
}

.qr-box {
    width: 112px;
    height: 112px;
    padding: 6px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.qr-box canvas,
.qr-box img {
    width: 98px !important;
    height: 98px !important;
}

.qr-group span {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.78rem;
}

.qr-copy h3 {
    font-size: 1.46rem;
    font-weight: 950;
}

.qr-copy p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.9rem;
}

.qr-copy ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 34px;
    margin-top: 18px;
    color: #2e4b70;
    font-size: 0.86rem;
    list-style: none;
}

.qr-copy li::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 8px;
    background: #20bf55;
    border-radius: 4px;
    vertical-align: -1px;
}

.version-card {
    display: grid;
    justify-items: center;
    align-content: center;
    min-height: 168px;
    color: #ffffff;
    background: var(--blue);
    border-radius: 8px;
    text-align: center;
    font-style: normal;
}

.version-card span,
.version-card small,
.version-card em {
    opacity: 0.78;
}

.version-card strong {
    margin-top: 4px;
    font-size: 2rem;
    line-height: 1;
}

.version-card small {
    margin-top: 10px;
    font-size: 0.82rem;
}

.version-card em {
    margin-top: 18px;
    font-size: 0.78rem;
    line-height: 1.5;
}

.footer {
    padding: 82px 0 42px;
    color: #8995aa;
    background: var(--footer);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
}

.social-grid span {
    display: grid;
    place-items: center;
    min-height: 86px;
    background: #1a2538;
    border-radius: 8px;
}

.social-grid img {
    width: 44px;
    opacity: 0.58;
    filter: grayscale(1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 64px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom img {
    width: 96px;
    filter: brightness(1.8);
}

.footer-bottom p {
    margin-top: 16px;
    font-size: 0.82rem;
}

.footer-bottom nav {
    display: flex;
    justify-content: flex-end;
    gap: 28px;
    font-size: 0.84rem;
}

@keyframes phoneDrift {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -14px, 0);
    }
}

@keyframes floatLayer {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -10px, 0);
    }
}

@keyframes floatLayerSoft {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, 8px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .motion-item {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1080px) {
    .container {
        width: min(100% - 48px, 920px);
    }

    .hero-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .platform-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .hero-visual {
        height: 560px;
    }

    .qr-panel {
        grid-template-columns: 1fr;
    }
}
