:root {
    --paper: #f5f1e8;
    --paper-deep: #ebe5d8;
    --surface: rgba(255, 253, 248, 0.9);
    --surface-solid: #fffdf8;
    --ink: #24332d;
    --muted: #718079;
    --sage: #507563;
    --sage-dark: #385747;
    --sage-soft: #dce8df;
    --clay: #c77f5d;
    --clay-soft: #f2ded2;
    --line: rgba(47, 74, 61, 0.13);
    --shadow: 0 24px 70px rgba(61, 72, 61, 0.12);
    --shadow-soft: 0 12px 34px rgba(61, 72, 61, 0.08);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    min-width: 320px;
    min-height: 100vh;
    overflow-x: clip;
    color: var(--ink);
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    background:
        radial-gradient(circle at 9% 9%, rgba(199, 127, 93, .17), transparent 27%),
        radial-gradient(circle at 92% 18%, rgba(105, 151, 128, .19), transparent 30%),
        linear-gradient(145deg, var(--paper) 0%, #f8f5ee 52%, #edf2ec 100%);
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .34;
    background-image: repeating-linear-gradient(90deg, rgba(36, 51, 45, .025) 0 1px, transparent 1px 5px);
    mix-blend-mode: multiply;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; border-radius: 10px; color: #fff; background: var(--sage-dark); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.page-shell { position: relative; width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.header { display: flex; align-items: center; justify-content: space-between; min-height: 94px; border-bottom: 1px solid var(--line); }
.brand, .footer-brand { display: flex; align-items: center; gap: 13px; }
.brand-logo, .app-icon { width: 48px; height: 48px; border-radius: 15px; object-fit: cover; box-shadow: 0 9px 22px rgba(87, 47, 36, .17); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.3; }
.brand-copy strong { font-size: 19px; letter-spacing: .04em; }
.brand-copy small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 14px; font-weight: 600; }
.nav a { transition: color .2s ease, transform .2s ease; }
.nav a:hover, .nav a:focus-visible { color: var(--sage-dark); transform: translateY(-1px); }
.nav-download { padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .46); }
.hero { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(36px, 6vw, 86px); align-items: center; min-height: 690px; padding: 72px 0 88px; }
.hero::after { content: ""; position: absolute; z-index: -1; right: -4%; bottom: 8%; width: 240px; height: 240px; border-radius: 45% 55% 62% 38% / 55% 38% 62% 45%; border: 1px solid rgba(80, 117, 99, .24); animation: slow-float 7s ease-in-out infinite; }
.eyebrow, .section-kicker, .card-kicker { color: var(--sage); font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.eyebrow span { width: 30px; height: 2px; background: var(--clay); }
.hero h1 { max-width: 650px; font-size: clamp(43px, 5.2vw, 72px); font-weight: 850; line-height: 1.14; letter-spacing: -.045em; }
.hero h1 em { display: block; color: var(--sage); font-style: normal; }
.hero-intro { max-width: 590px; margin-top: 26px; color: var(--muted); font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.primary-action { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 15px; color: #fff; font-weight: 750; background: var(--sage); box-shadow: 0 14px 30px rgba(56, 87, 71, .2); transition: transform .25s var(--ease), background .25s ease, box-shadow .25s ease; }
.primary-action:hover, .primary-action:focus-visible { background: var(--sage-dark); transform: translateY(-3px); box-shadow: 0 18px 36px rgba(56, 87, 71, .26); }
.text-action { padding: 10px 0; color: var(--sage-dark); font-weight: 700; }
.text-action span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.text-action:hover span { transform: translateX(4px); }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 30px; color: var(--muted); font-size: 13px; list-style: none; }
.trust-list span { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 5px; border-radius: 50%; color: var(--sage-dark); background: var(--sage-soft); font-size: 12px; font-weight: 900; }
.download-card { position: relative; padding: 28px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .7); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.download-card::before { content: ""; position: absolute; top: -75px; right: -55px; width: 190px; height: 190px; border-radius: 50%; background: linear-gradient(145deg, var(--sage-soft), var(--clay-soft)); opacity: .7; }
.download-card-head { position: relative; display: flex; align-items: center; gap: 15px; }
.app-icon { width: 62px; height: 62px; border-radius: 19px; }
.download-card-head h2 { margin: 2px 0; font-size: 23px; }
.download-card-head p:last-child { color: var(--muted); font-size: 12px; }
.device-tip { display: flex; align-items: center; gap: 9px; margin: 23px 0 14px; padding: 11px 14px; border-radius: 13px; color: var(--sage-dark); background: var(--sage-soft); font-size: 13px; font-weight: 650; }
.device-tip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 5px rgba(80, 117, 99, .12); }
.platform-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.platform-button { position: relative; display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; width: 100%; min-height: 86px; padding: 14px 15px; overflow: hidden; border: 0; border-radius: 20px; color: #fff; text-align: left; font: inherit; cursor: pointer; box-shadow: 0 13px 28px rgba(44, 60, 52, .15); transition: transform .24s var(--ease), box-shadow .24s ease, filter .24s ease; }
.platform-button::after { content: ""; position: absolute; right: -28px; bottom: -42px; width: 100px; height: 100px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; }
.platform-button:hover, .platform-button:focus-visible, .platform-button.is-recommended { transform: translateY(-3px); box-shadow: 0 18px 35px rgba(44, 60, 52, .22); filter: saturate(1.04); }
.platform-button:focus-visible { outline: 3px solid rgba(199, 127, 93, .34); outline-offset: 3px; }
.platform-button-apple { background: linear-gradient(135deg, #1f2b27, #3d5149); }
.platform-button-android { background: linear-gradient(135deg, #547966, #79a184); }
.platform-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: rgba(255, 255, 255, .14); }
.platform-icon svg { width: 25px; height: 25px; fill: currentColor; }
.platform-copy { position: relative; z-index: 1; display: flex; min-width: 0; flex-direction: column; line-height: 1.35; }
.platform-copy small { margin-bottom: 4px; color: rgba(255, 255, 255, .72); font-size: 10px; }
.platform-copy strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.platform-arrow { position: relative; z-index: 1; color: rgba(255, 255, 255, .82); font-size: 19px; transition: transform .2s ease; }
.platform-button:hover .platform-arrow, .platform-button:focus-visible .platform-arrow { transform: translateX(3px); }
.store-note { margin-top: 14px; color: var(--muted); font-size: 11px; text-align: center; }
.features, .showcase { padding: 100px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-heading h2 { margin: 10px 0 14px; font-size: clamp(31px, 4vw, 48px); line-height: 1.28; letter-spacing: -.03em; }
.section-heading > p:last-child { color: var(--muted); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 260px; padding: 28px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .72); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-soft); transition: transform .25s var(--ease), box-shadow .25s ease; }
.feature-card:nth-child(2) { transform: translateY(22px); }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-card:nth-child(2):hover { transform: translateY(17px); }
.feature-number { color: rgba(80, 117, 99, .42); font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.feature-symbol { display: grid; place-items: center; width: 48px; height: 48px; margin: 36px 0 20px; border-radius: 15px; color: var(--sage-dark); background: var(--sage-soft); font-size: 28px; }
.feature-card h3 { margin-bottom: 10px; font-size: 20px; }
.feature-card p { color: var(--muted); font-size: 14px; }
.screenshots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.screenshot-item { padding: 12px; border: 1px solid rgba(255, 255, 255, .72); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-soft); }
.screenshot-item:nth-child(even) { margin-top: 30px; }
.screenshot-item img { width: 100%; aspect-ratio: 9 / 16; border-radius: 19px; object-fit: cover; object-position: top; }
.screenshot-item figcaption { display: flex; flex-direction: column; padding: 15px 7px 7px; }
.screenshot-item strong { font-size: 15px; }
.screenshot-item span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 70px; padding: 42px; border-radius: var(--radius-xl); color: #fff; background: radial-gradient(circle at 84% 10%, rgba(255, 255, 255, .16), transparent 30%), linear-gradient(135deg, var(--sage-dark), var(--sage)); box-shadow: var(--shadow); }
.closing .section-kicker { color: #d9e8de; }
.closing h2 { margin-top: 7px; font-size: clamp(26px, 3.6vw, 40px); }
.closing .primary-action { flex: 0 0 auto; color: var(--ink); background: #f6eadc; box-shadow: none; }
.footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px; padding: 34px 0 46px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: var(--ink); font-size: 15px; }
.footer-brand span { margin-top: 2px; }
.footer .brand-logo { width: 40px; height: 40px; border-radius: 12px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--sage-dark); }
.footer > p { grid-column: 1 / -1; padding-left: 53px; }
.reveal { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes slow-float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(0, -14px, 0) rotate(5deg); }
}

@media (max-width: 900px) {
    .page-shell { width: calc(100% - 32px); max-width: 720px; }
    .hero { grid-template-columns: 1fr; min-height: 0; padding: 58px 0 72px; }
    .hero-copy { text-align: center; }
    .eyebrow, .hero-actions, .trust-list { justify-content: center; }
    .hero-intro { margin-right: auto; margin-left: auto; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card, .feature-card:nth-child(2) { min-height: 220px; transform: none; }
    .feature-card:nth-child(2):hover { transform: translateY(-5px); }
    .feature-symbol { margin-top: 24px; }
    .screenshots-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .page-shell { width: calc(100% - 24px); max-width: 480px; }
    .header { min-height: 78px; }
    .brand-copy small, .nav a:first-child { display: none; }
    .brand-logo { width: 42px; height: 42px; border-radius: 13px; }
    .nav { gap: 10px; }
    .nav-download { padding: 9px 13px; font-size: 12px; }
    .hero { gap: 40px; padding: 44px 0 62px; }
    .hero h1 { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(31px, 8.6vw, 39px); }
    .hero-intro { font-size: 15px; line-height: 1.8; }
    .hero-actions { flex-direction: column; gap: 8px; }
    .primary-action { width: 100%; }
    .trust-list { gap: 8px 13px; font-size: 11px; }
    .download-card { padding: 20px; border-radius: 27px; }
    .platform-actions { grid-template-columns: 1fr; }
    .platform-button { min-height: 78px; }
    .features, .showcase { padding: 76px 0; }
    .section-heading { margin-bottom: 34px; }
    .screenshots-grid { gap: 10px; }
    .screenshot-item { padding: 7px; border-radius: 20px; }
    .screenshot-item:nth-child(even) { margin-top: 18px; }
    .screenshot-item img { border-radius: 15px; }
    .screenshot-item figcaption { padding: 10px 4px 4px; }
    .screenshot-item span { display: none; }
    .closing { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
    .footer { grid-template-columns: 1fr; text-align: center; }
    .footer-brand, .footer-links { justify-content: center; }
    .footer > p { grid-column: auto; padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
