/* 全站可复用组件。布局由组件负责，业务内容留在各 HTML；内部工作台不引用。 */
* { box-sizing: border-box; }
h1, h2, h3, h4, p, figure { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); background: var(--color-bg); }
body { margin: 0; padding: 0; min-height: 100vh; font-family: var(--font-universal-sans-text); font-size: var(--text-body); color: var(--color-text); background: var(--color-bg); line-height: var(--leading-body); }
body::before { content: none; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-charcoal); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { color: var(--color-text); font-family: var(--font-universal-sans-display); }
.container { width: min(var(--max-width), calc(100% - 80px)); max-width: var(--max-width); margin: 0 auto; padding: 64px 0 72px; }
.c-section-title { display: block; position: static; margin: 0 0 28px; padding: 0; color: var(--color-text); font-size: var(--text-heading); line-height: var(--leading-heading); font-weight: 500; letter-spacing: 0; text-align: left; transform: none; }
.c-section-title::after { content: none; }
.c-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 24px; border: 1px solid transparent; border-radius: var(--radius-buttons); background: var(--color-primary); color: white; font-size: 14px; font-weight: 500; line-height: 1.5; cursor: pointer; transition: background .18s ease; }
.c-button:hover { background: var(--color-primary-hover); color: white; }
.c-button--secondary { border-color: var(--color-onyx); background: transparent; color: var(--color-onyx); }
.c-button--secondary:hover { background: var(--color-surface-2); color: var(--color-onyx); }
.c-link { display: inline-flex; align-items: center; gap: 10px; color: var(--color-text); font-size: 14px; padding: 8px 0; text-underline-offset: 5px; }
.c-link:hover { text-decoration: underline; }
.c-link svg { width: 18px; height: 18px; }
.c-overview { padding: 0; margin: 0 0 24px; max-width: 1040px; border: 0; border-radius: 0; box-shadow: none; background: transparent; text-indent: 0; color: var(--color-text-muted); font-size: 16px; line-height: 1.9; }
.c-overview::before { content: none; }
.c-overview p + p { margin-top: 14px; }
/* 产品目录卡片：全部目录页共用。 */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; padding: 0; margin-bottom: 48px; }
.c-product-card { min-width: 0; border: 0; border-radius: var(--radius-cards); background: var(--color-surface); overflow: hidden; box-shadow: none; }
.c-product-card .thumb { aspect-ratio: 1; padding: 24px; background: var(--color-surface); overflow: hidden; }
.c-product-card .thumb img { width: 100%; height: 100%; object-fit: contain; }
.c-product-card .meta { padding: 18px 20px 22px; border: 0; background: var(--color-surface); text-align: left; }
.c-product-card h4 { margin: 0; color: var(--color-text); font-size: 16px; font-weight: 500; line-height: 1.55; }
.c-product-card .product-link { display: block; height: 100%; color: inherit; }
.c-product-card:has(a):hover { background: var(--color-surface-2); }
.c-product-card:has(a):hover h4 { text-decoration: underline; text-underline-offset: 5px; }
.c-product-card.coming h4 { color: var(--color-text-muted); }
/* 比较、筛选与案例切换：中性控件，不冒充主要操作。 */
.compare-section { padding: 0 0 48px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-cards); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.75; }
.compare-table th { text-align: left; font-weight: 500; background: var(--color-surface); }
.compare-table th, .compare-table td { padding: 16px; border-bottom: 1px solid var(--color-border); vertical-align: top; color: var(--color-text); }
.compare-table .model { font-weight: 500; }
.compare-table .model span { display: block; color: var(--color-text-muted); font-size: 12px; }
.compare-toggle-box { text-align: center; padding: 0 0 36px; }
.compare-toggle { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--color-onyx); border-radius: var(--radius-buttons); padding: 10px 24px; min-height: 44px; color: var(--color-onyx); background: transparent; font-size: 14px; font-weight: 500; cursor: pointer; }
.compare-toggle:hover { background: var(--color-surface); }
.compare-toggle-icon { width: 18px; height: 18px; }
.compare-toggle[aria-expanded="true"] .compare-toggle-icon { transform: rotate(180deg); }
.c-tabs, .case-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 32px; border-bottom: 1px solid var(--color-border); }
.c-tab, .case-btn { position: relative; padding: 14px 2px; border: 0; border-radius: 0; background: transparent; color: var(--color-text-muted); font-size: 17px; font-weight: 400; cursor: pointer; box-shadow: none; }
.c-tab:hover, .case-btn:hover { color: var(--color-text); }
.c-tab.active, .case-btn.active { color: var(--color-text); }
.c-tab::after, .case-btn::after { content: ''; position: absolute; height: 2px; background: var(--color-onyx); bottom: -1px; left: 0; right: 0; opacity: 0; }
.c-tab.active::after, .case-btn.active::after { opacity: 1; }
/* 内容块、价值说明与案例的共享呈现。 */
.value-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.value-card { min-width: 0; position: relative; display: flex; flex-direction: column; overflow: hidden; border: 0; border-radius: var(--radius-cards); background: var(--color-surface); box-shadow: none; }
.value-card::before { content: none; }
.card-body { padding: 24px; text-align: left; }
.card-title { margin-bottom: 12px; font-size: 20px; font-weight: 500; color: var(--color-text); }
.case-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.case-img { min-width: 0; height: 320px; overflow: hidden; border-radius: var(--radius-cards); background: var(--color-surface); }
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-text { min-width: 0; }
.case-text h3 { margin: 0 0 16px; font-size: 22px; font-weight: 500; }
.case-text p { margin-bottom: 12px; color: var(--color-text-muted); font-size: 15px; line-height: 1.9; }
.pain-list, .feat-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.pain-item, .feat-item { padding: 20px 0; border: 0; background: transparent; box-shadow: none; }
.pain-ic, .feat-ic, .cap-ic { width: 28px; height: 28px; margin: 0 0 16px; filter: grayscale(1); }
.pain-title, .feat-title { font-size: 18px; font-weight: 500; color: var(--color-text); }
.feat-desc { margin-top: 10px; font-size: 15px; color: var(--color-text-muted); }
.cap-list { display: flex; flex-direction: column; gap: 0; }
.cap-item { padding: 24px 0; border-bottom: 1px solid var(--color-border); }
.cap-item:first-child { padding-top: 0; }
.cap-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cap-head .cap-ic { margin: 0; }
.cap-title { font-size: 18px; font-weight: 500; }
.cap-desc { color: var(--color-text-muted); font-size: 15px; line-height: 1.85; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; border: 1px solid var(--color-border); border-radius: var(--radius-cards); background: transparent; color: var(--color-text); font-weight: 500; }
.cta-card:hover { background: var(--color-surface); border-color: var(--color-border-strong); }
.cta-arrow { width: 20px; height: 20px; }
/* 内容无需依赖滚动动画才出现。 */
.reveal, .reveal.visible { opacity: 1; transform: none; transition: none; }
@media (max-width: 1100px) {
  .container { width: calc(100% - 48px); padding: 48px 0 56px; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 40px); padding: 36px 0 44px; }
  .c-section-title { font-size: 24px; margin-bottom: 22px; }
  .c-overview { font-size: 15px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .c-product-card .thumb { padding: 14px; }
  .c-product-card .meta { padding: 14px; }
  .c-product-card h4 { font-size: 14px; }
  .compare-table { min-width: 740px; }
  .c-tab, .case-btn { font-size: 15px; }
  .c-tabs, .case-tabs { gap: 8px 24px; }
  .case-layout { grid-template-columns: 1fr; gap: 24px; }
  .case-img { height: 240px; }
  .value-cards { grid-template-columns: 1fr; }
  .pain-list, .feat-list { grid-template-columns: 1fr; gap: 8px; }
  .pain-item, .feat-item { padding: 16px 0; }
}
@media (max-width: 380px) { .product-grid { grid-template-columns: 1fr; } }

.c-network-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 260px; gap: 16px; padding: 24px; text-align: center; background: var(--color-surface); color: var(--color-text-muted); }
.c-network-fallback h3 { font-size: 24px; font-weight: 500; margin: 0; }
.c-network-fallback p { margin: 0; font-size: 14px; }

/* 表单面板与字段也由共享组件提供，不在业务页定义渐变或特殊圆角。 */
.c-form-panel { padding: 40px 0; border: 0; border-radius: 0; background: var(--color-bg); }
.c-form-panel h1 { margin: 0 0 16px; font-size: 40px; font-weight: 500; text-align: center; }
.c-form-panel .sub { margin: 0 0 36px; color: var(--color-text-muted); font-size: 17px; text-align: center; }
.c-form-field { display: grid; gap: 8px; }
.c-form-field label { color: var(--color-text); font-size: 14px; font-weight: 500; }
.c-form-field input, .c-form-field textarea { width: 100%; padding: 12px 16px; min-height: 46px; border: 1px solid var(--color-border-strong); border-radius: var(--radius-inputs); background: var(--color-bg); font: inherit; color: var(--color-text); }
.c-form-field textarea { min-height: 132px; resize: vertical; }
.c-form-field input::placeholder, .c-form-field textarea::placeholder { color: var(--color-text-muted); }
.c-button--block { width: 100%; }
@media (max-width: 720px) { .c-form-panel { padding: 16px 0; }.c-form-panel h1 { font-size: 30px; }.c-form-panel .sub { font-size: 15px; } }
