* {
    box-sizing: border-box;
}

:root {
    --primary: #2d71a1;
    --primary-dark: #274685;
    --aqua: #3db3c5;
    --ink: #111827;
    --muted: #8b98a8;
    --soft: #f7fbff;
    --card: #ffffff;
}

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

body {
    min-height: 100%;
    overflow-x: hidden;
    margin: 0;
    color: var(--muted);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.55;
}

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

.site-wrap {
    position: relative;
}

.site-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1140px, calc(100% - 34px));
    min-height: 82px;
    margin: 0 auto;
    padding: 12px 0;
}

.brand {
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.03em;
}

.site-nav {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    font-weight: 800;
}

.site-nav a {
    padding: 13px 15px;
    border-radius: 999px;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.site-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    transform: translateY(-1px);
}

.site-nav .nav-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px 9px 15px;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
    backdrop-filter: blur(12px);
}

.nav-user-chip span {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-user-chip em {
    padding: 4px 8px;
    border-radius: 999px;
    color: #245284;
    background: #fff;
    font-size: 11px;
    font-style: normal;
    font-variant-numeric: tabular-nums;
    font-weight: 900;
}

main,
.site-footer {
    width: min(1140px, calc(100% - 34px));
    margin-right: auto;
    margin-left: auto;
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 880px;
    margin: 0 calc((100vw - min(1140px, calc(100vw - 34px))) / -2);
    color: #fff;
    background:
        linear-gradient(to right, rgba(39, 70, 133, .86), rgba(61, 179, 197, .82)),
        url("../img/landing/hero-bg.jpg") center/cover no-repeat;
}

.hero-section:before,
.hero-section:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-section:before {
    width: 520px;
    height: 520px;
    right: -170px;
    top: 70px;
    background: rgba(255, 255, 255, .10);
}

.hero-section:after {
    width: 340px;
    height: 340px;
    left: -120px;
    bottom: 220px;
    background: rgba(255, 255, 255, .08);
}

.hero-section .wave {
    position: absolute;
    right: 0;
    bottom: -150px;
    left: 0;
    z-index: 2;
    width: 100%;
    overflow: hidden;
}

.hero-section .wave svg {
    display: block;
    width: 100%;
}

.hero-inner {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    align-items: center;
    gap: 70px;
    width: min(1140px, calc(100% - 34px));
    min-height: 860px;
    margin: 0 auto;
    padding: 110px 0 170px;
}

.hero-kicker {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .2em;
}

.hero-copy h1 {
    max-width: 660px;
    margin: 0;
    color: #fff;
    font-size: clamp(46px, 7vw, 82px);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -.06em;
    text-wrap: balance;
}

.hero-subtitle {
    max-width: 510px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .9);
    font-size: 19px;
    line-height: 1.75;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

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

.btn-outline-white {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-outline-white:hover,
.btn-light {
    color: var(--primary);
    background: #fff;
    box-shadow: 0 18px 38px rgba(21, 49, 92, .18);
}

.btn-dark {
    color: #fff;
    background: #060d1a;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
}

.hero-link {
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    font-weight: 900;
}

.hero-link:hover {
    color: #fff;
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.hero-metrics span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 999px;
    color: rgba(255, 255, 255, .78);
    background: rgba(255, 255, 255, .08);
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.hero-metrics b {
    color: #fff;
}

.iphone-wrap {
    position: relative;
    min-height: 560px;
}

.iphone-wrap .phone-1,
.iphone-wrap .phone-2 {
    position: absolute;
    top: 0;
    width: 250px;
    border-radius: 34px;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .26));
}

.iphone-wrap .phone-1 {
    left: 0;
    z-index: 2;
}

.iphone-wrap .phone-2 {
    left: 118px;
    top: 52px;
    z-index: 3;
}

.iphone-text {
    position: absolute;
    top: 80px;
    left: -40px;
    z-index: 4;
    max-width: 300px;
    padding: 20px 22px;
    border-radius: 20px;
    color: #1c2e45;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 42px rgba(21, 49, 92, .18);
    font-size: 14px;
    font-weight: 900;
    backdrop-filter: blur(12px);
}

.site-section {
    padding: 96px 0 78px;
}

.section-head {
    max-width: 690px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-head span,
.about-card span {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
}

.section-head h2,
.about-card h2,
.cta-section h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.feature-art {
    display: flex;
    justify-content: center;
    margin: 8px 0 34px;
}

.art-phone {
    position: relative;
    width: min(420px, 100%);
    min-height: 250px;
    overflow: hidden;
    border-radius: 34px;
    background:
        radial-gradient(circle at 80% 20%, rgba(61, 179, 197, .18), transparent 26%),
        linear-gradient(180deg, #ffffff, #f6fbff);
    box-shadow: 0 20px 60px rgba(45, 113, 161, .12);
}

.art-notch {
    width: 88px;
    height: 10px;
    margin: 22px auto 0;
    border-radius: 999px;
    background: #e7edf4;
}

.art-screen {
    display: grid;
    width: calc(100% - 54px);
    min-height: 158px;
    margin: 28px auto 0;
    place-items: center;
    border-radius: 26px;
    color: #fff;
    background: linear-gradient(-45deg, var(--primary-dark), var(--aqua));
    text-align: center;
}

.art-screen span,
.art-screen small {
    color: rgba(255, 255, 255, .76);
    font-weight: 800;
}

.art-screen b {
    display: block;
    font-size: 54px;
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums;
}

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

.step-card {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    padding: 32px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 252, 255, .9)),
        radial-gradient(circle at 88% 12%, rgba(61, 179, 197, .16), transparent 28%);
    box-shadow: 0 16px 44px rgba(21, 49, 92, .08);
    animation: card-rise .7s ease both;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.step-card:nth-child(2) {
    animation-delay: .06s;
}

.step-card:nth-child(3) {
    animation-delay: .12s;
}

.step-card:nth-child(4) {
    animation-delay: .18s;
}

.step-card:nth-child(5) {
    animation-delay: .24s;
}

.step-card:nth-child(6) {
    animation-delay: .3s;
}

.step-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 0 28px 70px rgba(21, 49, 92, .14);
}

.step-card:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(45, 113, 161, .08);
}

.step-card:after {
    content: "";
    position: absolute;
    right: -52px;
    bottom: -54px;
    width: 138px;
    height: 138px;
    border-radius: 50%;
    background: rgba(45, 113, 161, .08);
}

.step-card .number {
    display: block;
    margin-bottom: 24px;
    background: linear-gradient(-45deg, var(--aqua), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .22em;
}

.step-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -.03em;
}

.step-card p {
    max-width: 280px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
    font-weight: 700;
}

@keyframes card-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 24px;
    padding: 44px 0 96px;
}

.about-card,
.about-list {
    border-radius: 34px;
    background: var(--soft);
    box-shadow: 0 18px 52px rgba(21, 49, 92, .07);
}

.about-card {
    padding: 42px;
}

.about-card p {
    max-width: 600px;
    margin: 18px 0 0;
    color: #6f8092;
    font-size: 16px;
    line-height: 1.85;
    font-weight: 700;
}

.contact-mail {
    display: inline-flex;
    align-items: center;
    margin-top: 22px;
    padding: 12px 16px;
    border-radius: 999px;
    color: var(--primary-dark);
    background: #fff;
    box-shadow: 0 12px 30px rgba(45, 113, 161, .10);
    font-size: 14px;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease;
}

.contact-mail:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(45, 113, 161, .14);
}

.about-list {
    display: grid;
    gap: 12px;
    padding: 22px;
}

.about-list div {
    padding: 20px;
    border-radius: 24px;
    background: #fff;
}

.about-list b {
    display: block;
    color: var(--primary-dark);
    font-size: 20px;
    font-weight: 900;
}

.about-list small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    font-weight: 700;
}

.cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 70px;
    padding: 42px;
    border-radius: 34px;
    color: #fff;
    background: linear-gradient(to right, var(--primary-dark), var(--aqua));
    box-shadow: 0 24px 64px rgba(39, 70, 133, .22);
}

.cta-section h2 {
    color: #fff;
}

.cta-section p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .78);
    font-weight: 800;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(120px, .45fr)) minmax(180px, .7fr);
    gap: 28px;
    padding: 70px 0 34px;
    border-top: 1px solid #edf2f7;
}

.site-footer h3,
.site-footer h4 {
    margin: 0 0 14px;
    color: var(--ink);
}

.site-footer p {
    max-width: 330px;
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.site-footer a {
    display: block;
    margin-bottom: 9px;
    color: #5f6f81;
    font-weight: 800;
}

.site-footer a:hover {
    color: var(--primary);
}

.footer-copy {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.footer-copy span {
    display: block;
    margin-bottom: 8px;
}

@media (max-width: 1020px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 120px;
    }

    .iphone-wrap {
        min-height: 470px;
        transform: translateX(8%);
    }

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

    .about-section,
    .site-footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .site-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .site-nav .nav-user-chip {
        flex: 0 0 auto;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-inner {
        min-height: auto;
        padding: 132px 0 130px;
    }

    .hero-copy h1 {
        font-size: 48px;
    }

    .iphone-wrap {
        min-height: 390px;
        transform: scale(.78);
        transform-origin: top left;
    }

    .iphone-wrap .phone-2 {
        left: 118px;
    }

    .iphone-text {
        left: 0;
        top: 58px;
    }

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

    .site-section {
        padding-top: 68px;
    }

    .about-card,
    .cta-section {
        padding: 28px;
    }

    .cta-section {
        align-items: flex-start;
        flex-direction: column;
    }
}
