/* 产品集合与详情共用视觉系统。官网使用展示字号，不复用桌面应用的紧凑控件尺寸。 */
:root {
  --paper: #faf8f5;
  --surface: #fffdfb;
  --ink: #302d35;
  --muted: #696571;
  --subtle: #77717d;
  --brand: #715b96;
  --brand-hover: #584375;
  --brand-soft: #ede7f4;
  --violet: #bbade6;
  --pink: #e2adb4;
  --honey: #fec96d;
  --line: #e6e0e7;
  --white: #fff;
  --glass: rgb(255 255 255 / 68%);
  --shadow: 0 16px 48px -30px rgb(72 49 83 / 28%);
  --radius: 24px;
  --radius-small: 12px;
  --button-height: 46px;
  --container: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-body: 16px;
  --font-meta: 13px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: var(--font-body)/1.85 var(--font); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
button:disabled { cursor: not-allowed; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.4; }
ul { list-style: none; margin: 0; padding: 0; }
ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 5px; }
::selection { background: var(--brand-soft); color: var(--ink); }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 92px; }
.section-head { margin-bottom: 48px; text-align: center; }
.section-head h2, .contact-card h2, .about-grid h2, .faq-layout h2, .ai-layout h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 650; letter-spacing: -.025em; }
.section-head > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); }
.eyebrow { color: var(--brand); font-size: 12px; letter-spacing: .18em; font-weight: 650; margin-bottom: 18px; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.9; }
.micro { font-size: var(--font-meta); color: var(--subtle); line-height: 1.75; }
.accent-text { color: var(--brand); }
.glass { background: var(--glass); border: 1px solid var(--white); box-shadow: var(--shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.surface-band { background: color-mix(in srgb, var(--brand-soft) 24%, var(--paper)); border-block: 1px solid var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: var(--button-height); padding: 10px 22px; border: 1px solid transparent; border-radius: var(--radius-small); font-size: 14px; font-weight: 600; line-height: 1.5; transition: background .18s, box-shadow .18s; }
.btn-primary { color: var(--white); background: var(--brand); box-shadow: 0 5px 14px -8px var(--brand); }
.btn-primary:hover:not(:disabled) { color: var(--white); background: var(--brand-hover); }
.btn-secondary { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn-secondary:hover { border-color: var(--brand); }
.btn:disabled { background: var(--brand-soft); color: var(--muted); box-shadow: none; }
.btn-small { min-height: 38px; padding: 6px 12px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 10px 20px; background: var(--surface); }
.skip-link:focus { top: 12px; }

/* 扩散光晕限定在首屏背后，不把满屏动画与装饰叠在产品截图上。 */
.glow { position: relative; isolation: isolate; }
.glow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 18% 5%, color-mix(in srgb, var(--violet) 38%, transparent), transparent 50%), radial-gradient(ellipse at 87% 20%, color-mix(in srgb, var(--pink) 27%, transparent), transparent 42%), radial-gradient(ellipse at 68% 85%, color-mix(in srgb, var(--honey) 24%, transparent), transparent 45%); pointer-events: none; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(250 248 245 / 92%); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 650; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--white); font-size: 19px; font-weight: 650; background: linear-gradient(135deg, var(--brand), #9b83b4); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a { display: block; padding-block: 12px; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--brand); }
.nav-toggle { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; color: var(--ink); min-height: 42px; padding: 4px 12px; font-size: 14px; }
.nav-toggle span { margin-left: 8px; }

/* 产品集合页：展示真实产品，不用虚构卡片或假数量填满布局。 */
.catalog-hero { padding: 78px 0 56px; }
.catalog-hero h1 { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -.035em; font-weight: 650; }
.catalog-hero .lead { margin: 24px 0 30px; }
/* 集合页更快露出产品卡，不把说明文字和大片留白变成另一张首屏。 */
#products { padding-top: 48px; }
#products .section-head { margin-bottom: 28px; }
.inline-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; text-align: left; }
.inline-head > p { font-size: 14px; }
.product-grid { display: grid; gap: 24px; }
.product-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 40px; border-radius: var(--radius); padding: 40px; }
.product-card-copy { min-width: 0; }
.product-identity { display: flex; gap: 14px; align-items: center; }
.app-mark { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 17px; background: linear-gradient(140deg, var(--violet), var(--pink) 65%, var(--honey)); color: var(--ink); font-size: 35px; font-weight: 700; font-family: Georgia, serif; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 50%); }
.app-mark span { font-size: 26px; margin-left: 1px; }
.product-identity h3, .product-wordmark { font-size: 30px; line-height: 1.2; letter-spacing: -.035em; font-weight: 650; }
.product-identity p { font-size: var(--font-meta); color: var(--muted); margin-top: 5px; }
.product-card h4 { margin-top: 24px; font-size: 25px; font-weight: 600; }
.product-card-copy > p:not(.micro) { font-size: 15px; color: var(--muted); margin-top: 14px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag-list li, .badge, .flow-tags span { padding: 3px 9px; border-radius: 6px; background: var(--brand-soft); font-size: 12px; color: var(--brand); }
.product-meta { margin-top: 22px; }
.product-meta span { margin-inline: 6px; }
.product-card-image { border-radius: 16px; background: linear-gradient(140deg, color-mix(in srgb, var(--violet) 22%, var(--paper)), color-mix(in srgb, var(--honey) 20%, var(--paper))); padding: 22px; }
.product-card-image img { border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 72px; }
.about-copy { color: var(--muted); }
.about-copy p + p { margin-top: 18px; }

/* 产品详情：原图完整展示，图注与截图一一对应。 */
.product-hero { padding: 28px 0 0; }
.breadcrumb { font-size: var(--font-meta); color: var(--muted); }
.hero-layout { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: 52px; align-items: center; padding-block: 44px 58px; }
.hero-copy h1 { font-size: clamp(32px, 3.2vw, 46px); font-weight: 650; letter-spacing: -.035em; margin-top: 24px; }
.hero-copy .lead { font-size: 16px; margin-top: 22px; }
.hero-meta { margin-top: 22px; }
.hero-meta span { margin-inline: 7px; }
.screenshot { min-width: 0; margin: 0; }
.screenshot a { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 6px; background: var(--glass); box-shadow: var(--shadow); cursor: zoom-in; }
.screenshot img { width: 100%; height: auto; aspect-ratio: 1080 / 761; object-fit: contain; border-radius: 9px; background: var(--surface); }
.screenshot figcaption { color: var(--muted); font-size: 12px; line-height: 1.7; padding: 14px 4px 0; }
.screenshot figcaption span { display: block; color: var(--subtle); margin-top: 2px; }
.hero-screen figcaption { text-align: center; }
.capability-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-block: 1px solid var(--line); padding-block: 22px; gap: 16px; }
.capability-strip a { display: flex; align-items: center; gap: 10px; justify-content: space-between; font-size: 14px; padding-inline: 12px; }
.capability-strip span { color: var(--subtle); font-size: 11px; }
.feature-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: center; padding-block: 42px; scroll-margin-top: 100px; }
.feature-row + .feature-row { margin-top: 36px; }
.feature-row.reverse { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.feature-row.reverse .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(25px, 2.6vw, 34px); font-weight: 600; }
.feature-copy > p:not(.eyebrow) { color: var(--muted); margin-top: 18px; }
.feature-list { margin-top: 22px; display: grid; gap: 18px; }
.feature-list li { position: relative; padding-left: 16px; color: var(--muted); font-size: 14px; }
.feature-list li::before { content: ""; position: absolute; width: 4px; height: 4px; left: 0; top: 10px; border-radius: 50%; background: var(--brand); }
.feature-list strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 3px; }
.switch-buttons { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 15px; }
.switch-buttons button { background: transparent; color: var(--muted); padding: 7px 14px; min-height: 38px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; }
.switch-buttons button[aria-pressed="true"] { color: var(--brand); border-color: var(--line); background: var(--surface); box-shadow: 0 3px 8px -6px var(--brand); }
.switch-buttons button:hover { background: var(--brand-soft); }

/* 无真实 AI 截图时使用明确标注的流程示意，不模拟正在运行的模型输出。 */
.ai-section { background: radial-gradient(ellipse at 10% 20%, color-mix(in srgb, var(--violet) 30%, transparent), transparent 65%), radial-gradient(ellipse at 90% 100%, color-mix(in srgb, var(--pink) 22%, transparent), transparent 70%); border-block: 1px solid var(--line); }
.ai-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 80px; align-items: center; }
.ai-flow { padding: 32px; border-radius: var(--radius); }
.flow-heading { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; }
.flow-heading .badge { margin-left: auto; font-weight: 400; white-space: nowrap; }
.ai-symbol { color: var(--brand); font-size: 30px; }
.ai-flow ol { list-style: none; margin-top: 24px; }
.ai-flow li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding-block: 22px; border-top: 1px solid var(--line); }
.step-number { color: var(--brand); font-size: 12px; width: 26px; height: 26px; display: grid; place-items: center; background: var(--brand-soft); border-radius: 50%; }
.ai-flow h3 { font-size: 17px; font-weight: 600; }
.ai-flow li p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.flow-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.appearance-layout { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 64px; align-items: center; }
.swatch-list { display: grid; gap: 12px; margin-bottom: 28px; }
.swatch-list li { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.swatch-list i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); box-shadow: inset 0 0 0 3px var(--paper); }
.swatch-white { background: #444; }.swatch-green { background: #4e8c81; }.swatch-amber { background: #ce822d; }.swatch-rose { background: #c55073; }.swatch-indigo { background: #7265db; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.detail-card { min-width: 0; border: 1px solid var(--line); background: var(--surface); padding: 28px; border-radius: var(--radius-small); }
.card-index { display: block; color: var(--brand); font-size: 12px; margin-bottom: 22px; }
.detail-card h3 { font-size: 18px; font-weight: 600; }
.detail-card p { color: var(--muted); font-size: 14px; margin-top: 12px; }
.detail-card .micro { font-size: 12px; }
.compact-grid .detail-card { background: transparent; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; margin-top: 44px; }
.gallery-note { margin-top: 22px; text-align: center; }

/* 下载状态与计数只显示服务端结果，离线和未发布不是“0 次”或假成功。 */
.download-section { background: radial-gradient(ellipse at 50% 50%, color-mix(in srgb, var(--violet) 23%, transparent), transparent 72%); border-block: 1px solid var(--line); }
.download-summary { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 13px; margin: -16px 0 28px; }
.download-summary strong { font-size: 28px; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 550; }
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; max-width: 880px; margin: auto; }
.download-card { border: 1px solid var(--white); border-radius: var(--radius); padding: 28px; background: var(--glass); box-shadow: var(--shadow); }
.download-card h3 { font-size: 22px; font-weight: 600; }
.release-meta { margin-top: 12px; min-height: 26px; font-size: 13px; color: var(--muted); }
.release-source { margin-top: 5px; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.download-card .btn { width: 100%; margin-top: 22px; }
.release-count { margin-top: 14px; text-align: center; font-size: 12px; color: var(--muted); }
.download-note { max-width: 800px; margin: 16px auto 0; text-align: center; }
.download-feedback { font-size: 14px; color: var(--brand); text-align: center; min-height: 28px; margin-top: 20px; }
.status-text { font-size: 14px; color: var(--muted); }
.download-grid > .status-text { text-align: center; border: 1px dashed var(--line); border-radius: 12px; padding: 30px; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 72px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 21px 4px; font-size: 16px; font-weight: 550; }
.faq-list details[open] summary { color: var(--brand); }
.faq-list details p { color: var(--muted); font-size: 14px; padding: 0 4px 24px; }
.contact-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 64px; padding: 48px; border-radius: var(--radius); background: linear-gradient(120deg, color-mix(in srgb, var(--violet) 22%, var(--surface)), color-mix(in srgb, var(--honey) 12%, var(--surface))); }
.contact-card p:not(.eyebrow) { color: var(--muted); font-size: 14px; margin-top: 18px; }
.contact-details { min-width: 0; background: var(--glass); border: 1px solid var(--white); border-radius: 16px; padding: 24px; }
.contact-details dl { margin: 0; }
.contact-details dt { color: var(--muted); font-size: 12px; }
.contact-details dd { margin: 4px 0 18px; font-size: 16px; overflow-wrap: anywhere; }
.contact-details dd:last-child { margin-bottom: 0; }
.contact-details a { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.contact-details .status-text { margin-top: 0 !important; }
.privacy-note { margin-top: 42px; max-width: 960px; }
.privacy-note h3 { font-size: 14px; font-weight: 600; }
.privacy-note p { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.site-footer { padding-block: 34px 22px; border-top: 1px solid var(--line); }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-bottom { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 22px; margin-top: 28px; }
.footer-bottom > a { text-underline-offset: 3px; }
.footer-bottom > a:hover { text-decoration: underline; }
.noscript-note { padding: 12px 24px; background: var(--surface); color: var(--muted); font-size: 13px; }

/* 原生模态框处理焦点隔离；图片使用 contain，不裁切宽屏与竖屏内容。 */
.lightbox { position: fixed; inset: 0; width: min(1280px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 50px 22px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); color: var(--ink); }
.lightbox::backdrop { background: rgb(31 26 38 / 76%); backdrop-filter: blur(8px); }
.lb-close { position: absolute; top: 8px; right: 12px; height: 36px; width: 36px; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 50%; color: var(--ink); font-size: 24px; line-height: 1; }
.lb-img { width: 100%; height: min(72dvh, 780px); object-fit: contain; }
.lb-caption { text-align: center; font-size: 13px; margin-top: 12px; }
.lb-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 12px; font-size: 13px; }
.lb-controls button { background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: 8px; min-height: 38px; padding: 6px 14px; font-size: 13px; }
body.modal-open { overflow: hidden; }

@media (max-width: 1050px) {
  .nav-links { gap: 16px; }
  .hero-layout, .feature-row, .feature-row.reverse { gap: 30px; }
  .product-card { gap: 28px; padding: 28px; }
  .ai-layout, .appearance-layout { gap: 36px; }
  .capability-strip a { padding-inline: 0; }
}
@media (max-width: 820px) {
  .container { width: calc(100% - 40px); }
  .section { padding-block: 64px; }
  .nav { min-height: 66px; position: relative; flex-wrap: wrap; }
  .nav-links { width: 100%; flex-wrap: wrap; gap: 6px 20px; padding-bottom: 12px; }
  /* 只有 JS 接管后才收菜单；无 JS 时导航仍完整可用。 */
  .nav-ready .nav-toggle { display: block; }
  .nav-ready .nav-links { display: none; }
  .nav-ready .nav-links.is-open { display: flex; position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px; }
  .nav-ready .nav-links li { flex: 1 1 40%; }
  .nav-ready .nav-links a { padding: 10px; }
  .catalog-hero { padding: 64px 0 44px; }
  .catalog-hero .lead { font-size: 16px; }
  .product-card, .hero-layout, .feature-row, .feature-row.reverse, .ai-layout, .appearance-layout, .about-grid, .faq-layout, .contact-card { grid-template-columns: minmax(0, 1fr); }
  .product-card-image { padding: 16px; }
  .hero-layout { gap: 38px; padding-top: 28px; }
  .hero-copy h1 { font-size: 40px; }
  .hero-copy .lead { max-width: 580px; }
  .capability-strip { display: flex; flex-wrap: wrap; gap: 18px 28px; }
  .capability-strip a { gap: 10px; }
  .feature-row.reverse .feature-copy { order: 0; }
  .feature-row { padding-block: 28px; }
  .feature-row + .feature-row { margin-top: 30px; }
  .swatch-list { display: flex; flex-wrap: wrap; gap: 15px; }
  .ai-flow { padding: 26px; }
  .about-grid, .faq-layout { gap: 32px; }
  .contact-card { gap: 28px; padding: 32px; }
  .footer-top, .footer-bottom { align-items: start; flex-direction: column; gap: 16px; }
}
@media (min-width: 821px) { .nav-toggle { display: none; } }
@media (max-width: 520px) {
  .container { width: calc(100% - 32px); }
  .section-head { text-align: left; margin-bottom: 32px; }
  .inline-head { display: block; }
  .inline-head > p { margin-top: 18px; }
  .catalog-hero h1 { font-size: 33px; }
  .hero-copy h1 { font-size: 34px; }
  .desktop-break { display: none; }
  .product-card { padding: 22px; }
  .product-card-image { padding: 10px; }
  .product-card h4 { font-size: 23px; }
  .actions { gap: 10px; }
  .btn { padding-inline: 16px; }
  .capability-strip { gap: 14px 22px; }
  .capability-strip a { font-size: 12px; }
  .contact-card { padding: 24px; }
  .contact-details { padding: 20px; }
  .flow-heading { flex-wrap: wrap; }
  .ai-flow { padding: 22px; }
  .footer-links { gap: 12px 22px; }
  .lightbox { padding: 48px 10px 14px; }
  .lb-img { height: auto; max-height: 65dvh; }
  .lb-controls { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
