:root {
  color-scheme: light;
  --ink: #10164b;
  --muted: #70799f;
  --font-sans: "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --content-width: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); font-family: var(--font-sans); background: #f8fbff; -webkit-font-smoothing: antialiased; }
button, input, a { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #7c67ec; outline-offset: 5px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.page-shell { position: relative; isolation: isolate; overflow: clip; min-height: 100vh; background: radial-gradient(ellipse at 4% 20%, #e9e4ff85, transparent 36%), radial-gradient(ellipse at 92% 32%, #d6eaff8a, transparent 36%), linear-gradient(125deg, #f5f7ff, #ffffff 47%, #f4f9ff); }
.topbar, .hero, .products-section, footer { position: relative; width: min(var(--content-width), calc(100% - 80px)); margin-inline: auto; }
.ambient { position: absolute; inset: -70px 0 auto; height: 650px; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient-wave { position: absolute; left: -20%; top: -780px; width: 130%; height: 1190px; border-radius: 50%; transform: rotate(15deg); background: linear-gradient(170deg, transparent 76%, #ffffffba); box-shadow: 0 8px 22px #ffffffb0, 0 60px 85px #cab6ff12; }
.petal { position: absolute; box-shadow: inset 8px 8px 30px #ffffffb8; }
.petal-left-back { width: 146px; height: 302px; left: calc(50% - 610px); top: 179px; border-radius: 84% 25% 72% 30%; transform: rotate(25deg); background: linear-gradient(125deg, #ffffff00, #cdc8ff82 62%, #e5eeff15); }
.petal-left-front { width: 125px; height: 237px; left: calc(50% - 663px); top: 264px; border-radius: 72% 34% 75% 40%; transform: rotate(18deg); background: linear-gradient(138deg, #f7fcff, #b9bbf691 49%, #fbe3f3); }
.petal-left-small { width: 110px; height: 201px; left: calc(50% - 690px); top: 350px; border-radius: 60% 80% 30% 60%; transform: rotate(25deg); background: linear-gradient(150deg, #fff, #c4bffa6b 65%, #e4f7ff); }
.petal-right-top { width: 104px; height: 191px; right: calc(50% - 603px); top: 150px; border-radius: 80% 40% 80% 40%; transform: rotate(36deg); background: linear-gradient(140deg, #fff1fa, #c8bcff9e 48%, #9ae8f48a 76%, #fff); }
.petal-right-bottom { width: 156px; height: 339px; right: calc(50% - 451px); top: 335px; border-radius: 70% 45% 80% 30%; transform: rotate(35deg); background: linear-gradient(145deg, #c1d5ff6e, #d8f4ff63 60%, #fff0); box-shadow: none; }
.topbar { height: clamp(64px, 9dvh, 90px); display: flex; align-items: center; gap: 24px; z-index: 5; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand-logo { display: block; width: 156px; height: 44px; }
.footer-col a:hover, .footer-text-button:hover { color: #704cff; }
.topbar-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.language-button { height: 36px; min-width: 64px; padding: 0 18px; border-radius: 24px; border: 1px solid #dbe1f2; color: #727ca2; background: #ffffff85; font-size: 13px; font-weight: 600; }
.language-button:hover { background: white; }
.hero { padding: clamp(20px, 4dvh, 46px) 0 clamp(24px, 4.5dvh, 46px); text-align: center; }
.hero-eyebrow { margin: 0 0 16px; color: #7883ad; font-size: 10px; font-weight: 500; letter-spacing: .8em; text-indent: .8em; }
.hero h1 { display: flex; align-items: baseline; justify-content: center; margin: 0; font-size: clamp(32px, 3.3vw, 44px); font-weight: 700; letter-spacing: .015em; line-height: 1.25; }
.h-slate { color: #0b164b; }
.h-grad { background: linear-gradient(120deg, #6c43fd, #7251ff 55%, #643bff); background-clip: text; color: transparent; }
.hero-sub { margin: 14px 0 0; color: #6d79a5; font-size: 16px; line-height: 1.5; letter-spacing: .025em; }
.hero-deco { position: absolute; margin: 0; pointer-events: none; user-select: none; }
.hero-deco-left { left: 0; top: 40px; display: grid; gap: 4px; font-size: 10px; line-height: 1.25; text-align: left; color: #8690bd; }
.hero-deco-right { top: 65px; right: 11px; color: #919ed6; font-family: "Segoe Print", "Bradley Hand", cursive; font-size: 21px; font-style: italic; line-height: 1.12; transform: rotate(-14deg); }
.hero-deco-right span { display: inline-block; font-size: 42px; line-height: .5; transform: rotate(12deg); }
.products-section { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 14px; padding-bottom: clamp(24px, 4dvh, 42px); }
.product-card { --accent: #1b675c; --secondary: #bf455b; --tag-bg: #fff0ed; --tag-text: #bb5962; --pill: #36795a; --surface: #fffcfa; position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1.5px solid #ffffffed; border-radius: 19px; background: var(--surface); box-shadow: 0 13px 28px #6272970a, 0 2px 12px #ffffff7a; transition: transform 180ms ease, box-shadow 180ms ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 32px #62729718; }
.card-attune { --accent: #b84b5e; --pill: #f7dadd; background: radial-gradient(ellipse at 30% 5%, #ffe5e3, transparent 48%), linear-gradient(135deg, #fff7f5, #fffdfa 77%); }
.card-attune .status-pill { color: #a93f53; border-color: #efc6cc; box-shadow: inset 0 2px 6px #ffffff80; }
.card-attune .btn-primary { color: #a93f53; background: #f7dadd; border-color: #efc6cc; box-shadow: none; }
.card-attune .btn-secondary { color: #a93f53; border-color: #dda3ad; background: #fff9f9; }
.card-accrue { --accent: #19635c; --secondary: #278379; --tag-bg: #edf7ef; --tag-text: #527d66; --pill: #349b98; --surface: #f9fefa; background: radial-gradient(ellipse at 33% 8%, #e1f4e9, transparent 49%), linear-gradient(135deg, #f1fcf5, #fbfefb 77%); }
.card-orbit { --accent: #373098; --secondary: #8960ed; --tag-bg: #f2eaff; --tag-text: #7755c6; --pill: #9366ff; --surface: #fcfaff; background: radial-gradient(ellipse at 28% 3%, #efe2ff, transparent 48%), linear-gradient(135deg, #f9f3ff, #fefcff 77%); }
.card-haven { --accent: #5268cc; --secondary: #2365e5; --tag-bg: #edf5ff; --tag-text: #3d76d9; --pill: #6678dc; --surface: #f7fbff; background: radial-gradient(ellipse at 28% 6%, #dbeaff, transparent 50%), linear-gradient(135deg, #f1f8ff, #fbfdff 77%); }
.card-invest { --accent: #165743; --secondary: #2f7d63; --tag-bg: #f4f6e9; --tag-text: #6d7c4a; --pill: #bd9640; --surface: #fbfdf8; background: radial-gradient(ellipse at 31% 6%, #e9f0d9, transparent 50%), linear-gradient(135deg, #f5faf0, #fcfdf8 77%); }
.card-invest .status-pill { color: #fff; border-color: #e4cd93; box-shadow: inset 0 3px 7px #ffffff42; }
.card-invest .btn-primary { color: #fff; background: radial-gradient(ellipse at 75% 15%, #ffffff1f, transparent 65%), var(--accent); border-color: transparent; }
.card-invest .btn-secondary { color: var(--accent); border-color: #9dbba9; background: #ffffff42; }
.product-card::after { content: ""; position: absolute; width: 180%; height: 55%; top: 20%; left: -27%; border-radius: 48%; transform: rotate(-45deg); background: linear-gradient(180deg, #ffffff00, #ffffff66); pointer-events: none; }
.card-art { position: relative; flex: 0 0 auto; width: 100%; height: clamp(92px, calc(100dvh - 590px), 140px); overflow: hidden; }
.card-art svg { display: block; width: auto; max-width: 100%; height: 100%; aspect-ratio: 264 / 179; margin-inline: auto; mask-image: linear-gradient(transparent, #000 8%, #000 90%, transparent), linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); mask-composite: intersect; }
.status-pill { position: absolute; z-index: 2; top: 13px; right: 13px; display: inline-flex; align-items: center; justify-content: center; min-width: 58px; padding: 4px 10px; border-radius: 18px; border: 1px solid #ffffff4d; color: #fff; background: var(--pill); box-shadow: inset 0 3px 7px #ffffff3d; font-size: 11px; font-weight: 600; line-height: 1.35; }
.pill-soon { color: #3268df; background: #f4faffb3; border-color: #a9c7ff; }
.card-body { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; padding: 0 16px 16px; }
.product-name { display: flex; flex-direction: column; gap: 1px; }
.product-name h2 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; }
.name-en { font-size: 15px; line-height: 1.35; color: var(--secondary); font-weight: 600; letter-spacing: -.02em; }
.product-lead { margin: 12px 0 0; font-size: 14px; line-height: 1.55; font-weight: 650; letter-spacing: -.025em; white-space: nowrap; }
.product-desc { margin: 6px 0 0; min-height: 5em; color: #6f7ba3; font-size: 12px; line-height: 1.65; }
.tag-row { display: flex; justify-content: space-between; gap: 5px; margin: 9px 0 0; padding: 0; list-style: none; }
.tag-row li { display: flex; align-items: center; justify-content: center; flex: 1 1 0; padding: 2px 4px; border: 1px solid color-mix(in srgb, var(--tag-text) 7%, transparent); border-radius: 6px; font-size: 10px; white-space: nowrap; line-height: 1.55; color: var(--tag-text); background: var(--tag-bg); }
.card-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 7px; margin-top: auto; padding-top: 11px; }
.btn-primary, .btn-secondary { display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; min-height: 34px; padding: 6px; border-radius: 20px; font-size: 11px; font-weight: 600; line-height: 1.5; white-space: nowrap; transition: filter 180ms ease, background 180ms ease; }
.btn-primary { color: #fff; background: radial-gradient(ellipse at 75% 15%, #ffffff16, transparent 65%), var(--accent); border: 1px solid transparent; box-shadow: inset 0 2px 6px #ffffff13; }
.btn-secondary { border: 1px solid var(--accent); color: var(--accent); background: #ffffff26; }
a.btn-primary:hover { filter: brightness(1.12); }
a.btn-secondary:hover { background: #ffffffbb; }
.card-actions svg { flex: 0 0 13px; width: 13px; height: 13px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.btn-disabled { color: #7d88b3; background: #e9edf8; border: 1px solid #cdd7ed; box-shadow: none; }
.btn-soon { color: #7d88b3; border-color: #919fc4; }
footer { border-top: 1px solid #dce3f2; }
.footer-inner { display: grid; grid-template-columns: 1.25fr 1.15fr 1.8fr; align-items: start; gap: 24px; padding: 20px 0 24px; }
.footer-brand .brand-logo { width: 138px; height: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 4px; }
.footer-col h4 { margin: 0 0 4px; font-size: 12px; font-weight: 650; }
.footer-col a, .footer-muted, .footer-text-button { color: #7b85ab; font-size: 10.5px; line-height: 1.45; }
.footer-text-button { text-align: left; padding: 0; border: 0; background: transparent; }
.footer-unavailable { cursor: default; }
.footer-record { display: flex; flex-direction: column; gap: 3px; border-left: 1px solid #dce3f2; padding-left: 22px; color: #808aaf; font-size: 10.5px; line-height: 1.45; }
.footer-record a:hover { color: #5146ab; }
.public-security-record { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.public-security-record img { width: 16px; height: 16px; object-fit: contain; }
.record-copy { margin-top: 8px; white-space: nowrap; }
.about-dialog { max-width: 500px; width: calc(100% - 40px); padding: 35px; color: var(--ink); background: #fbfcff; border: 1px solid #e2e6f5; border-radius: 20px; box-shadow: 0 30px 70px #35437026; }
.about-dialog::backdrop { background: #1e265066; backdrop-filter: blur(6px); }
.about-dialog h2 { font-size: 24px; margin: 12px 0; }
.about-dialog p { font-size: 14px; line-height: 1.9; color: var(--muted); }
.about-dialog a { font-size: 14px; color: #6755cf; }
.about-dialog .dialog-eyebrow { font-size: 10px; letter-spacing: .35em; }
html[lang="en"] .hero h1 { font-size: clamp(28px, 3vw, 39px); flex-wrap: wrap; column-gap: .25em; }
html[lang="en"] .product-lead { white-space: normal; min-height: 3.1em; line-height: 1.55; }
html[lang="en"] .product-desc { min-height: 5.1em; line-height: 1.7; }
html[lang="en"] .tag-row { gap: 4px; }
html[lang="en"] .tag-row li { padding-inline: 3px; font-size: 10px; }
html[lang="en"] .btn-primary, html[lang="en"] .btn-secondary { gap: 5px; font-size: 12px; }
@media (max-width: 1199px) {
  .topbar, .hero, .products-section, footer { width: calc(100% - 64px); }
  .card-body { padding-inline: 16px; } .product-lead { font-size: 13px; }
  .card-actions { gap: 6px; } .card-actions svg { display: none; }
  .tag-row { gap: 5px; } .tag-row li { padding-inline: 5px; }
  .footer-inner { gap: 20px; grid-template-columns: 1.2fr .9fr 1.8fr; }
  .footer-brand .brand-logo { width: 145px; } .footer-record { padding-left: 18px; font-size: 11px; }
  .hero-deco-right { font-size: 21px; right: -5px; } .hero-deco-left { font-size: 11px; }
}
@media (max-width: 1023px) {
  .topbar { height: 72px; gap: 25px; } .brand-logo { width: 148px; }
  .topbar-actions { gap: 7px; } .language-button { padding-inline: 16px; min-width: 0; }
  .hero { padding: 30px 0 36px; } .hero-deco { display: none; }
  .products-section { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .card-art { height: 168px; } .card-body { padding: 0 22px 22px; } .product-lead { font-size: 15px; }
  .card-actions svg { display: block; }
  .footer-inner { grid-template-columns: 1.1fr 1fr; } .footer-record { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 10px 22px; border-left: 0; border-top: 1px solid #e2e7f4; padding: 22px 0 0; }
  .record-copy { margin: 0; }
}
@media (max-width: 680px) {
  .topbar, .hero, .products-section, footer { width: calc(100% - 36px); }
  .topbar { justify-content: space-between; gap: 8px; height: 72px; padding: 14px 0; }
  .brand-logo { width: 138px; height: 40px; } .topbar-actions { gap: 4px; } .language-button { height: 35px; padding-inline: 11px; font-size: 12px; }
  .hero { padding: 26px 0 32px; } .hero-eyebrow { margin-bottom: 15px; font-size: 10px; letter-spacing: .65em; }
  .hero h1 { flex-wrap: wrap; font-size: clamp(24px, 5.8vw, 32px); } .hero-sub { font-size: 13px; margin-top: 14px; letter-spacing: 0; }
  .products-section { grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 420px; padding-bottom: 56px; }
  .card-art { height: 172px; } .product-lead { margin-top: 14px; }
  .product-desc { min-height: 0; } .tag-row li { font-size: 12px; } .status-pill { font-size: 12px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px 18px; padding: 28px 0 36px; } .footer-brand { grid-column: 1 / -1; }
  .footer-col a, .footer-muted, .footer-text-button { font-size: 12px; } .footer-record { gap: 8px; flex-direction: column; }
  .petal-left-back { left: -50px; } .petal-left-front { left: -75px; } .petal-left-small { display: none; } .petal-right-top { right: -30px; top: 165px; opacity: .4; }
  html[lang="en"] .hero h1 { font-size: 28px; } html[lang="en"] .hero-sub { font-size: 12px; } html[lang="en"] .product-lead, html[lang="en"] .product-desc { min-height: 0; }
  html[lang="en"] .tag-row li { flex-basis: auto; }
}
/* Short desktop windows reserve space for the complete cards, including both actions. */
@media (min-width: 1024px) and (max-height: 720px) {
  .topbar { height: 60px; }
  .hero { padding: 18px 0 22px; }
  .hero h1 { font-size: 36px; }
  html[lang="en"] .hero h1 { font-size: 30px; }
  .hero-eyebrow { margin-bottom: 12px; }
  .hero-sub { margin-top: 10px; font-size: 15px; }
  .hero-deco-left { top: 20px; } .hero-deco-right { top: 35px; font-size: 18px; }
  .card-art { height: 108px; }
  .card-body { padding-bottom: 16px; }
  .product-lead { margin-top: 12px; }
  .card-actions { padding-top: 12px; }
}
@media (max-width: 359px) {
  .topbar .brand-logo { width: 115px; height: 34px; }
  .topbar-actions { gap: 2px; }
  .language-button { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
/* ---- 产品卡片：宽屏五张一行、宽度不够自动折行；电脑端高度稍降（平板与手机保持原样） ---- */
@media (min-width: 1024px) {
  .products-section { grid-template-columns: repeat(auto-fit, minmax(208px, 1fr)); }
  .card-art { height: clamp(74px, calc(100dvh - 624px), 112px); }
  .product-lead { margin-top: 10px; }
  .product-desc { margin-top: 5px; min-height: 4.3em; }
  .tag-row { margin-top: 8px; }
  .card-actions { padding-top: 9px; }
  .card-body { padding: 0 16px 13px; }
}
