:root {
    font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
    color: #18243b;
    background: #f8faff;
    font-synthesis: none;
    --primary: #3468f5;
    --muted: #728096;
    --surface-shadow: 0 18px 50px #233b7512;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(ellipse at 50% 20%, #eaf0ff 0, transparent 55%),
        #f8faff;
}
.page-skeleton { display: none; }
.js-loading #app { visibility: hidden; }
.js-loading .page-skeleton { display: block; position: absolute; inset: 0 0 auto; z-index: 10; min-height: 100vh; background: #f8faff; }
.skeleton-shape { display: block; border-radius: 10px; background: linear-gradient(100deg, #e8edf7 30%, #f7f9ff 50%, #e8edf7 70%); background-size: 200% 100%; animation: skeleton-shimmer 1.5s ease-in-out infinite; }
.skeleton-header { height: 84px; display: flex; align-items: center; gap: 14px; }
.skeleton-logo { width: 40px; height: 40px; border-radius: 12px; }
.skeleton-brand { width: 156px; height: 22px; }
.skeleton-nav { width: 230px; height: 36px; margin-left: auto; }
.skeleton-content { padding-top: 90px; }
.skeleton-kicker { width: 145px; height: 15px; margin: 0 auto 28px; }
.skeleton-headline { width: min(550px, 85%); height: 52px; margin: 0 auto 22px; }
.skeleton-subtitle { width: min(660px, 90%); height: 20px; margin: 0 auto; }
.skeleton-cards { max-width: 880px; margin: 56px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.skeleton-card { height: 350px; border-radius: 18px; }
.skeleton-error { display: none; text-align: center; margin: 30px 0; color: #536178; }
.skeleton-error a { color: var(--primary); margin-left: 4px; }
.js-failed .skeleton-shape, .js-failed .skeleton-cards { display: none; }
.js-failed .skeleton-error { display: block; }
@keyframes skeleton-shimmer { to { background-position-x: -200%; } }
#app { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.container { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: relative; z-index: 2; background: #ffffffdf; border-bottom: 1px solid #e9edf5; backdrop-filter: blur(14px); }
.header-inner { min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; gap: 12px; align-items: center; font-size: 23px; font-weight: 750; letter-spacing: -.6px; }
.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    position: relative;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    font-size: 27px;
    font-style: italic;
    box-shadow: 0 4px 12px #3468f526;
}
.brand-mark span { position: absolute; bottom: 9px; right: 8px; width: 5px; height: 5px; border-radius: 50%; background: #b7d7ff; }
.brand-caption { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 14px; letter-spacing: 1px; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.purchase-link { display: inline-flex; align-items: center; justify-content: center; min-height: 39px; padding: 8px 16px; border-radius: 9px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background .18s; }
.purchase-link:hover { background: #2556db; }
.purchase-link:focus-visible { outline: 3px solid #193cb4; outline-offset: 3px; }
.language-switch { display: flex; flex-shrink: 0; gap: 4px; padding: 4px; border: 1px solid #e3e8f2; border-radius: 10px; background: #f5f7fb; }
.language-switch button { border: 0; border-radius: 7px; padding: 8px 10px; background: transparent; color: #536178; font: inherit; font-size: 13px; cursor: pointer; }
.language-switch button:hover { color: var(--primary); }
.language-switch button.active { background: #fff; color: var(--primary); box-shadow: 0 1px 5px #253e721a; font-weight: 650; }
.language-switch button:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
main { flex: 1; }
.download-section { max-width: 880px; margin: 0 auto; padding: 76px 0 70px; }
.intro { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.eyebrow > span { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 4px #3468f511; }
h1 { margin: 22px 0 18px; font-size: clamp(30px, 4vw, 46px); line-height: 1.35; letter-spacing: -1.5px; font-weight: 750; }
h1 span { color: var(--primary); }
.intro > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 48px; align-items: stretch; }
.download-card { position: relative; display: flex; flex-direction: column; padding: 36px 34px 28px; background: #fff; border: 1px solid #e3e8f2; border-radius: 18px; box-shadow: 0 10px 35px #253e7205; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.download-card:hover { transform: translateY(-5px); box-shadow: var(--surface-shadow); }
.recommended { border-color: #92afff; box-shadow: 0 14px 44px #3468f50b; }
.recommend-badge { position: absolute; right: 24px; top: -13px; padding: 6px 15px; border-radius: 20px; background: var(--primary); color: #fff; font-size: 12px; line-height: 1.2; }
.card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.windows-icon { display: grid; grid-template-columns: repeat(2, 19px); grid-template-rows: repeat(2, 19px); gap: 3px; transform: perspective(90px) rotateY(-12deg); }
.windows-icon i { background: var(--primary); }
.mac-icon { width: 44px; height: 44px; color: #607189; }
.coming-soon-card { background: linear-gradient(155deg, #fff 55%, #f4f7ff); }
.coming-soon-card .card-divider { margin-top: 25px; }
.mac-availability { margin-top: auto; min-height: 143px; display: flex; justify-content: center; align-items: center; border: 1px dashed #ccd7ec; border-radius: 12px; background: #f7f9ff; }
.coming-soon-label { color: #566a8a; font-size: 18px; font-weight: 650; }
.platform-downloads { display: grid; gap: 12px; margin-top: auto; }
.architecture { color: #7f8da4; font-size: 12px; font-weight: 600; letter-spacing: 1px; padding: 6px 10px; background: #f5f7fb; border-radius: 6px; }
h2 { margin: 0 0 10px; font-size: 26px; font-weight: 650; letter-spacing: -.5px; }
h2 span { font-size: 22px; margin-left: 3px; }
.card-description { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.card-divider { height: 1px; background: #edf0f6; margin: 25px 0 23px; }
.download-button { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 10px 17px; border: 1px solid transparent; border-radius: 9px; font-size: 15px; font-weight: 600; text-decoration: none; transition: background .18s, box-shadow .18s, transform .18s; }
.primary { background: var(--primary); color: #fff; box-shadow: 0 5px 12px #3468f521; }
.primary:hover { background: #2556db; box-shadow: 0 7px 18px #3468f532; transform: translateY(-2px); }
.secondary { color: var(--primary); background: #f0f4ff; border-color: #dce6ff; }
.secondary:hover { background: #e4ecff; transform: translateY(-2px); }
.download-button:focus-visible { outline: 3px solid #193cb4; outline-offset: 4px; }
.vip-section { padding: 0 0 88px; }
.vip-heading { text-align: center; margin-bottom: 34px; }
.vip-heading h2 { margin: 16px 0 10px; font-size: clamp(26px, 3vw, 34px); }
.vip-heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.vip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vip-card { position: relative; min-width: 0; min-height: 220px; padding: 28px; border: 1px solid #e3e8f2; border-radius: 18px; background: #fff; box-shadow: 0 10px 35px #253e7208; transition: transform .25s ease, box-shadow .25s ease; }
.vip-card:hover { transform: translateY(-5px); box-shadow: var(--surface-shadow); }
.vip-card-featured { border-color: #92afff; background: linear-gradient(150deg, #fff 45%, #f1f5ff); box-shadow: 0 14px 44px #3468f515; }
.vip-period { color: #536178; font-size: 16px; font-weight: 650; }
.vip-price { display: flex; align-items: baseline; gap: 7px; margin: 18px 0 4px; color: #18243b; }
.vip-price strong { font-size: clamp(42px, 5vw, 54px); line-height: 1; letter-spacing: -2px; }
.vip-price span { color: var(--primary); font-size: 20px; font-weight: 700; }
.vip-duration { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.vip-discount { display: inline-block; margin-top: 18px; padding: 6px 10px; border-radius: 7px; background: #edf3ff; color: #2556db; font-size: 12px; font-weight: 650; }
.preview-section { padding: 0 0 90px; }
.preview-heading { text-align: center; margin-bottom: 34px; }
.preview-heading h2 { margin: 16px 0 10px; font-size: clamp(26px, 3vw, 34px); }
.preview-heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.preview-card { min-width: 0; margin: 0; padding: 12px; border: 1px solid #e3e8f2; border-radius: 16px; background: #fff; box-shadow: 0 10px 35px #253e7208; transition: transform .25s ease, box-shadow .25s ease; }
.preview-card:hover { transform: translateY(-4px); box-shadow: var(--surface-shadow); }
.preview-trigger { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 9px; overflow: hidden; background: #f0f4ff; cursor: zoom-in; }
.preview-trigger:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.preview-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #fff; background: #18243bc9; font-size: 22px; transition: background .2s ease, transform .2s ease; }
.preview-trigger:hover .preview-zoom { background: var(--primary); transform: scale(1.08); }
.preview-dialog { width: min(850px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 20px; border: 1px solid #e3e8f2; border-radius: 18px; box-shadow: 0 30px 90px #101d3b55; text-align: center; }
.preview-dialog::backdrop { background: #101d3bbd; backdrop-filter: blur(5px); }
.preview-dialog img { display: block; max-width: 100%; max-height: calc(100vh - 130px); width: auto; height: auto; margin: auto; object-fit: contain; }
.preview-dialog p { margin: 12px 0 0; color: #536178; font-size: 14px; }
.preview-close { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; color: #fff; background: #18243bd9; font-size: 26px; cursor: pointer; }
.preview-close:hover { background: var(--primary); }
.preview-close:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.reveal-section { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal-section.is-visible { opacity: 1; transform: none; }
.preview-card img { display: block; width: 100%; height: auto; border-radius: 9px; background: #f0f4ff; }
.preview-card figcaption { padding: 13px 5px 3px; color: #536178; font-size: 13px; font-weight: 600; }
.site-footer { border-top: 1px solid #e8edf6; }
.footer-inner { min-height: 72px; display: flex; align-items: center; color: #8c97a9; font-size: 12px; }
.footer-inner > span:first-child { font-weight: 650; font-size: 14px; }

@media (max-width: 760px) {
    .vip-grid { grid-template-columns: 1fr; gap: 16px; }
    .vip-card { min-height: 0; }
}

@media (max-width: 640px) {
    .container { width: calc(100% - 36px); }
    .skeleton-header { height: 70px; }
    .skeleton-brand { width: 90px; }
    .skeleton-nav { width: 110px; }
    .skeleton-content { padding-top: 60px; }
    .skeleton-cards { grid-template-columns: 1fr; margin-top: 42px; }
    .skeleton-card { height: 310px; }
    .skeleton-card + .skeleton-card { display: none; }
    .header-inner { min-height: 70px; flex-wrap: wrap; padding-block: 12px; gap: 10px; }
    .header-actions { gap: 8px; }
    .purchase-link { padding: 7px 10px; font-size: 11px; min-height: 35px; }
    .brand { font-size: 19px; gap: 8px; }
    .brand img { width: 32px; height: 32px; }
    .brand-caption { display: none; }
    .language-switch button { padding: 7px 6px; font-size: 11px; }
    .download-section { padding: 48px 0 40px; }
    h1 { letter-spacing: -.8px; }
    h1 span { display: block; }
    .intro > p { font-size: 13px; }
    .download-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 36px; }
    .download-card { padding: 30px 26px 23px; }
    .vip-section { padding-bottom: 56px; }
    .vip-card { padding: 24px; }
    .preview-section { padding-bottom: 56px; }
    .preview-grid { grid-template-columns: 1fr; gap: 18px; }
    .footer-inner { min-height: 80px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .skeleton-shape { animation: none; }
    .reveal-section { opacity: 1; transform: none; transition: none; }
    .download-card, .vip-card, .preview-card, .preview-zoom, .download-button { transition: none; }
    .download-card:hover, .vip-card:hover, .preview-card:hover, .preview-zoom, .download-button:hover { transform: none; }
}