/* reset */
html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

/* hero */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #7b2ff7 0%, #b26aff 55%, #ff6b9d 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .45;
}

.blob-1 {
    width: 520px;
    height: 520px;
    background: #ffb3d9;
    top: -120px;
    right: -80px;
}

.blob-2 {
    width: 420px;
    height: 420px;
    background: #5a1fd6;
    bottom: -100px;
    left: -100px;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding-top: 60px;
    padding-bottom: 60px;
    gap: 60px;
}

.hero-text {
    flex: 1 1 480px;
    max-width: 560px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
}

.brand-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.brand-text .sub {
    font-size: 18px;
    font-weight: 500;
    opacity: .9;
    margin: 4px 0 0;
    letter-spacing: 2px;
}

.tagline {
    font-size: 26px;
    font-weight: 500;
    margin: 0 0 18px;
    opacity: .95;
}

.desc {
    font-size: 16px;
    line-height: 1.8;
    opacity: .86;
    margin: 0 0 34px;
}

.btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

.btn-android {
    background: #fff;
    color: #7b2ff7;
}

.btn-ios {
    background: rgba(255, 255, 255, .15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
}

/* phones */
.hero-phone {
    flex: 1 1 420px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 24px;
    position: relative;
}

.phone {
    width: 260px;
    height: 540px;
    background: #111;
    border-radius: 42px;
    padding: 10px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
    position: relative;
    flex-shrink: 0;
}

.phone-front {
    z-index: 2;
}

.phone-back {
    z-index: 1;
    transform: translateY(60px) scale(.92);
    opacity: .9;
}

.notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 24px;
    background: #111;
    border-radius: 12px;
    z-index: 3;
}

.screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
}

.screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* features */
.features {
    padding: 90px 0 110px;
    background: #fff;
    color: #1a1a2e;
    text-align: center;
}

.features h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 48px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.feature {
    padding: 34px 24px;
    border-radius: 20px;
    background: #f8f7fb;
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(123, 47, 247, .1);
}

.icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #7b2ff7, #ff6b9d);
    color: #fff;
}

.feature h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #1a1a2e;
}

.feature p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* footer */
footer {
    background: #1a1a2e;
    color: #9ca3af;
    text-align: center;
    padding: 34px 24px;
    font-size: 14px;
    line-height: 1.8;
}

/* responsive */
@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding-top: 40px;
        padding-bottom: 50px;
    }

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

    .brand {
        justify-content: center;
    }

    .brand-text h1 {
        font-size: 42px;
    }

    .tagline {
        font-size: 22px;
    }

    .desc {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .btns {
        justify-content: center;
    }

    .hero-phone {
        order: -1;
        flex: none;
    }

    .phone {
        width: 210px;
        height: 436px;
        border-radius: 34px;
    }

    .phone-back {
        display: none;
    }

    .notch {
        top: 14px;
        width: 72px;
        height: 20px;
    }

    .screen {
        border-radius: 26px;
    }
}

@media (max-width: 480px) {
    .brand-text h1 {
        font-size: 36px;
    }

    .tagline {
        font-size: 18px;
    }

    .btn {
        width: 100%;
    }

    .features h2 {
        font-size: 26px;
    }
}
