.home-frame {
    max-width: 1280px;
    margin: 2rem auto;
    border: 1px solid rgba(232, 237, 243, .9);
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(247, 249, 252, .86)),
        radial-gradient(circle at 12% 18%, rgba(245, 158, 11, .16), transparent 22rem),
        radial-gradient(circle at 88% 12%, rgba(13, 110, 253, .14), transparent 22rem);
    box-shadow: var(--jk-shadow);
    overflow: hidden;
}

.hero-home {
    position: relative;
    padding: clamp(4rem, 7vw, 7rem) 1.5rem 3rem;
    text-align: center;
}

.hero-home::before,
.hero-home::after {
    content: "";
    position: absolute;
    inset: 4rem auto auto 4rem;
    width: 18rem;
    height: 18rem;
    border: 1px solid rgba(13, 110, 253, .12);
    border-radius: 50%;
    pointer-events: none;
}

.hero-home::after {
    inset: 6rem 5rem auto auto;
    border-color: rgba(245, 158, 11, .16);
}

.hero-title {
    max-width: 820px;
    margin: 1.2rem auto 1rem;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: .98;
    font-weight: 850;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 560px;
    margin: 0 auto 1.6rem;
    color: var(--jk-muted);
    font-size: clamp(1rem, 2vw, 1.16rem);
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .85rem;
}

.hero-stage {
    position: relative;
    min-height: 720px;
    margin-top: 2.5rem;
}

.phone-hand {
    position: relative;
    z-index: 3;
    width: min(390px, 86vw);
    margin: 0 auto;
    animation: floatPhone 6s ease-in-out infinite;
}

.app-shot {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 38px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .2);
}

.app-phone {
    border: 10px solid #05070a;
    border-radius: 38px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .2);
    overflow: hidden;
}

.phone-status {
    height: 36px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-notch {
    width: 88px;
    height: 24px;
    border-radius: 999px;
    background: #05070a;
}

.phone-screen {
    padding: 1rem;
    min-height: 470px;
    background: #fbfcfd;
}

.app-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.screen-card {
    border: 1px solid var(--jk-line);
    border-radius: 18px;
    background: #fff;
    padding: .9rem;
}

.count-orb {
    width: 170px;
    height: 170px;
    margin: 1.2rem auto;
    border-radius: 50%;
    border: 12px solid rgba(13, 110, 253, .12);
    display: grid;
    place-items: center;
    background: #fff;
}

.count-orb strong {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .7rem;
}

.metric-tile {
    border-radius: 16px;
    background: #f6f8fb;
    padding: .8rem;
    text-align: left;
}

.metric-tile strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
}

.floating-chip {
    position: absolute;
    z-index: 2;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #05070a;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--jk-line);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    animation: floatChip 7s ease-in-out infinite;
}

.chip-1 { left: 15%; top: 7%; }
.chip-2 { right: 16%; top: 10%; animation-delay: .8s; }
.chip-3 { left: 21%; bottom: 19%; animation-delay: 1.4s; }
.chip-4 { right: 22%; bottom: 24%; animation-delay: 2s; }

.hero-note {
    position: absolute;
    left: 7%;
    bottom: 12%;
    max-width: 230px;
    color: var(--jk-muted);
    text-align: left;
    font-size: .92rem;
}

.hero-callout {
    position: absolute;
    right: 6%;
    bottom: 9%;
    max-width: 360px;
    text-align: left;
}

.feature-card {
    min-height: 360px;
    padding: 1.5rem;
    border: 1px solid var(--jk-line);
    border-radius: 24px;
    background: #fff;
    overflow: hidden;
}

.feature-card.soft-blue {
    background: #eef5ff;
}

.feature-card.soft-saffron {
    background: #fff7e8;
}

.feature-visual {
    min-height: 190px;
    border-radius: 20px;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, #fff, #eef2f7);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.feature-visual img {
    width: 150px;
    height: auto;
    border-radius: 24px;
    transform: rotate(-10deg);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .15);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.step-card {
    min-height: 132px;
    padding: 1.1rem;
    border: 1px solid var(--jk-line);
    border-radius: 20px;
    background: #fff;
}

.step-number {
    float: right;
    color: #98a2b3;
    font-size: .82rem;
    font-weight: 700;
}

.review-band {
    padding: 3rem;
    border-radius: 26px;
    background: #f1f3f7;
}

.review-card {
    height: 100%;
    padding: 1.4rem;
    border-radius: 20px;
    background: #fff;
}

.stars {
    color: #f59e0b;
}

.download-panel {
    position: relative;
    min-height: 360px;
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(238, 245, 255, .9)),
        #eef5ff;
}

.download-panel .phone-hand {
    position: absolute;
    right: 8%;
    bottom: -7rem;
    width: min(360px, 78vw);
    transform: rotate(-12deg);
}

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

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

@media (max-width: 991.98px) {
    .home-frame {
        margin: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .hero-stage {
        min-height: 820px;
    }

    .hero-note,
    .hero-callout {
        position: static;
        max-width: 100%;
        margin-top: 1.5rem;
        text-align: center;
    }

    .floating-chip {
        width: 58px;
        height: 58px;
    }

    .chip-1 { left: 8%; top: 3%; }
    .chip-2 { right: 8%; top: 6%; }
    .chip-3 { left: 8%; bottom: 33%; }
    .chip-4 { right: 8%; bottom: 32%; }

    .download-panel .phone-hand {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 2rem;
        width: min(330px, 82vw);
    }
}

@media (max-width: 575.98px) {
    .hero-home {
        padding-inline: 1rem;
    }

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

    .floating-chip {
        display: none;
    }

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

    .review-band {
        padding: 1.2rem;
    }

    .download-panel {
        min-height: auto;
    }
}
