:root {
    --ink: #2a2118;
    --brand: #f37021;
    --brand-deep: #e05f12;
    --brand-soft: #fff1e6;
    --mist: #fff7f0;
    --chalk: #fffaf6;
    --muted: #6f6258;
    --line: rgba(42, 33, 24, 0.1);
    --shadow: 0 24px 60px rgba(243, 112, 33, 0.18);
    --font-display: "ZCOOL XiaoWei", "Songti SC", serif;
    --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-en: "Figtree", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.site {
    margin: 0;
    color: var(--ink);
    background: var(--chalk);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 1.1rem 0;
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    height: 44px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: rgba(42, 33, 24, 0.72);
}

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

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 55% at 82% 18%, rgba(243, 112, 33, 0.18), transparent 60%),
        radial-gradient(ellipse 55% 45% at 8% 82%, rgba(255, 186, 120, 0.28), transparent 55%),
        linear-gradient(165deg, #fff4eb 0%, #fffaf6 48%, #ffe9d8 100%);
}

.hero-smile {
    position: absolute;
    right: 4%;
    bottom: 10%;
    width: min(42vw, 420px);
    height: 48px;
    border: 10px solid rgba(243, 112, 33, 0.12);
    border-top: 0;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    pointer-events: none;
    animation: mark-in 1.2s ease both;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 6.5rem 0 3.5rem;
}

.hero-copy {
    max-width: 34rem;
}

.hero-logo {
    display: block;
    width: min(280px, 72vw);
    height: auto;
    margin: 0 0 1.35rem;
    animation: rise 0.8s ease both;
}

.hero-title {
    margin: 0 0 1rem;
    font-size: clamp(1.55rem, 3.2vw, 2.15rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.02em;
    animation: rise 0.8s ease 0.08s both;
}

.hero-desc {
    margin: 0 0 1.75rem;
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 28rem;
    animation: rise 0.8s ease 0.16s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    animation: rise 0.8s ease 0.24s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 48px;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.98rem;
    font-weight: 500;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
    background: var(--brand);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-deep);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(243, 112, 33, 0.28);
    color: var(--brand-deep);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: #fff;
}

.hero-visual {
    display: flex;
    justify-content: center;
    animation: rise 1s ease 0.2s both;
}

.phone {
    position: relative;
    width: min(280px, 72vw);
    aspect-ratio: 9 / 19.2;
    border-radius: 36px;
    background: linear-gradient(180deg, #f37021 0%, #ff9a4d 52%, #e05f12 100%);
    box-shadow: var(--shadow);
    padding: 12px;
    animation: float 5.5s ease-in-out infinite;
}

.phone::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    width: 88px;
    height: 18px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    z-index: 2;
}

.phone-screen {
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 250, 246, 0.99), rgba(255, 241, 230, 0.97)),
        var(--mist);
    padding: 2.4rem 1rem 1rem;
    color: var(--ink);
}

.phone-top {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.phone-top img {
    width: 120px;
    height: auto;
}

.phone-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.7rem;
}

.phone-card h4 {
    margin: 0 0 0.25rem;
    font-size: 0.92rem;
    font-weight: 600;
}

.phone-card p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--muted);
}

.phone-card.accent {
    background: linear-gradient(135deg, rgba(243, 112, 33, 0.12), rgba(255, 186, 120, 0.18));
    border-color: transparent;
}

.section {
    padding: 5.5rem 0;
}

.section-head {
    max-width: 36rem;
    margin-bottom: 2.5rem;
}

.section-head h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
}

.features {
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
}

.feature-item {
    padding: 1.75rem 1.5rem 1.75rem 0;
    border-bottom: 1px solid var(--line);
}

.feature-item:nth-child(odd) {
    padding-right: 2rem;
    border-right: 1px solid var(--line);
}

.feature-item:nth-child(even) {
    padding-left: 2rem;
}

.feature-item .label {
    display: inline-block;
    margin-bottom: 0.55rem;
    font-family: var(--font-en);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
}

.feature-item h3 {
    margin: 0 0 0.45rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
}

.download {
    background:
        radial-gradient(ellipse 70% 80% at 0% 50%, rgba(243, 112, 33, 0.1), transparent 55%),
        var(--chalk);
}

.download-panel {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.download-note {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.download-badge {
    justify-self: end;
    width: min(240px, 100%);
    text-align: center;
}

.download-badge img {
    width: 160px;
    height: auto;
    margin: 0 auto 1rem;
}

.download-badge p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer {
    padding: 1.75rem 0 2.25rem;
    border-top: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    font-size: 0.88rem;
}

.site-footer .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: space-between;
    align-items: center;
}

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

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes mark-in {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

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

@media (max-width: 900px) {
    .hero-grid,
    .download-panel {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding-top: 5.5rem;
        padding-bottom: 3rem;
        min-height: auto;
    }

    .hero-visual {
        order: -1;
    }

    .phone {
        width: min(240px, 68vw);
        animation: none;
    }

    .hero-smile {
        width: 55vw;
        bottom: 4%;
        right: -2%;
    }

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

    .feature-item,
    .feature-item:nth-child(odd),
    .feature-item:nth-child(even) {
        padding: 1.4rem 0;
        border-right: 0;
    }

    .download-badge {
        justify-self: start;
    }

    .nav-links {
        display: none;
    }
}

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

    .hero-logo,
    .hero-title,
    .hero-desc,
    .hero-actions,
    .hero-visual,
    .hero-smile,
    .phone,
    .reveal {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
