/* ============================================
   苏州构程科技 - 官网样式 (White Edition v2)
   slate-50 底 + navy 主色 + sky-700 强调
   ============================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Surface */
  --bg-page:        #F8FAFC;
  --bg-card:        #FFFFFF;
  --bg-alt:         #F1F5F9;
  --bg-dark:        #0F172A;  /* CTA、Footer 深色岛 */

  --border:         #E2E8F0;
  --border-strong:  #CBD5E1;

  --shadow-sm:      0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow:         0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg:      0 12px 32px rgba(15, 23, 42, 0.08);
  /* v2.3.4: 柔和多层阴影 - 卡片浮起立体感, 外圈带品牌紫色调 */
  --shadow-soft:       0 6px 28px -8px rgba(79, 70, 229, 0.14), 0 2px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-soft-hover: 0 22px 52px -14px rgba(79, 70, 229, 0.26), 0 6px 12px -4px rgba(15, 23, 42, 0.07);

  /* Text */
  --text-1:         #0F172A;
  --text-2:         #475569;
  --text-3:         #94A3B8;
  --text-inverse:   #F8FAFC;

  /* Brand */
  --primary:        #0F172A;
  --primary-hover:  #1E293B;
  --accent:         #0369A1;
  --accent-hover:   #075985;
  --accent-bg:      #E0F2FE;
  --accent-text:    #0C4A6E;

  /* Gradient text — 2 色干净 */
  --grad-text:      linear-gradient(135deg, #0EA5E9 0%, #6366F1 100%);

  /* Status */
  --success:        #16A34A;
  --warning:        #CA8A04;
  --danger:         #DC2626;

  /* Layout */
  --container:      1320px;
  --radius-sm:      6px;
  --radius:         8px;
  --radius-lg:      12px;

  /* Motion */
  --ease:           cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast:         0.15s;
  --t:              0.3s;

  /* Type scale */
  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
               'Source Han Sans CN', Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "tnum";
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
ul, ol { list-style: none; }

/* 浅色版不需要 bg-decor / particles */
.bg-decor, #particles { display: none !important; }

/* ---------- Skip Link ---------- */
.skip-link {
  position: fixed;
  top: 16px; left: 16px;
  z-index: 1000;
  padding: 11px 20px;
  background: var(--primary); color: #fff;
  border-radius: 8px;
  font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus, .skip-link:focus-visible { transform: translateY(0); }

/* ---------- Focus States ---------- */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.section { padding: 88px 0; position: relative; }
.section--sm { padding: 56px 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  background: var(--accent-bg);
  color: var(--accent-text);
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.section-tag::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.section-title {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  transition: box-shadow var(--t) var(--ease);
}
.nav.is-scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.01em;
}
.brand-logo {
  /* 横版 A6 logo: 2450x764 aspect (~3.2:1). 用高度锁定, 宽度自适应. */
  height: 48px; width: auto;
  object-fit: contain;
  display: block;
  background: transparent;
  border-radius: 0;
}
/* footer 里 logo 更端正一点 */
.footer .brand-logo { height: 56px; }


.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links li { list-style: none; }
.nav-link,
.nav-links li a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover,
.nav-link.is-active,
.nav-links li a:hover,
.nav-links li.current-menu-item a,
.nav-links li.current_page_item a {
  color: var(--text-1);
  background: rgba(15, 23, 42, 0.05);
}
.nav-links li.current-menu-item a,
.nav-links li.current_page_item a { font-weight: 500; }

.nav-cta {
  padding: 9px 18px;
  font-size: 14px; font-weight: 500;
  background: var(--primary); color: #fff;
  border-radius: var(--radius);
  transition: background var(--t-fast);
}
.nav-cta:hover { background: var(--primary-hover); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  align-items: center; justify-content: center;
}
.nav-toggle span {
  position: relative; width: 20px; height: 2px;
  background: var(--text-1); border-radius: 2px;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0;
  width: 20px; height: 2px;
  background: var(--text-1); border-radius: 2px;
  transition: transform var(--t-fast);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons (shimmer sweep) ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 14px; font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transition: filter var(--t-fast), background var(--t-fast),
              border-color var(--t-fast), color var(--t-fast);
}

.btn--primary { background: var(--primary); color: #fff; }
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 60%; height: 100%;
  background: linear-gradient(115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 100%);
  transition: left 0.5s var(--ease);
  pointer-events: none;
}
.btn--primary:hover::after { left: 130%; }
.btn--primary:hover { filter: brightness(1.15); }
.btn--primary:active { filter: brightness(0.95); }

.btn--ghost {
  background: var(--bg-card);
  border-color: var(--border-strong);
  color: var(--text-1);
}
.btn--ghost:hover {
  border-color: var(--text-1);
}
.btn--ghost:active { background: var(--bg-alt); }

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }

.btn--lg { padding: 13px 26px; font-size: 15px; }
.btn--sm { padding: 7px 14px; font-size: 12.5px; border-radius: var(--radius-sm); }

.btn-arrow { display: inline-block; transition: transform var(--t-fast); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 72px;
  position: relative;
}
.hero--compact { padding: 72px 0 60px; }

/* v2.3.5+: 视频 hero (居中 contain, 周围留白)
   容器 aspect 比视频宽 → object-fit:contain 让视频保持原尺寸完整显示,
   左右上下用页面浅色留白衬托 */
.hero--video {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  max-height: 440px;
  overflow: hidden;
  background: #F8FAFC;        /* 跟页面同色, 视频周围就是留白 */
  padding: 16px 0;             /* 上下加点透气量 */
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: contain;         /* 完整显示不裁切 */
  display: block;
}
.hero-video-fade { display: none; }  /* contain + 浅色 bg 已不需要底部渐变 */

/* v2.3.9: assistant download page (卡片式下载入口) */
.assistant-download-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.assistant-download-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--accent-bg);
  color: var(--accent-text);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.assistant-download-icon svg { width: 26px; height: 26px; }
.assistant-download-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 6px;
}
.assistant-download-info {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 13px;
  color: var(--text-3);
}
.assistant-download-info strong { color: var(--text-2); font-weight: 600; }
.assistant-download-btn { flex-shrink: 0; white-space: nowrap; }

.assistant-notes {
  max-width: 860px;
  margin: 28px auto 0;
  padding: 20px 28px;
  background: var(--bg-page);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}
.assistant-notes p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-2);
  margin: 0;
}
.assistant-notes p + p { margin-top: 10px; }

@media (max-width: 760px) {
  .assistant-download-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px;
    gap: 16px;
  }
  .assistant-download-icon { margin: 0 auto; }
  .assistant-download-info { justify-content: center; }
  .assistant-download-btn { justify-self: stretch; }
  .assistant-notes { padding: 16px 20px; }
}

/* v2.3.7: about brand statement panels (2 张深色 panel 独立 banner, 大间距对齐其他 section)
   .section 标准 padding 88px * 2 = 176px 段间距, 这里 gap 直接匹配 */
.brand-statement { padding: 88px 0; }
.brand-panels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 176px;
  max-width: 1080px;
  margin: 0 auto;
}
.brand-panel { margin: 0; }
.brand-panel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
@media (max-width: 900px) {
  .brand-panels-grid { gap: 120px; }
}
@media (max-width: 768px) {
  .brand-statement { padding: 56px 0; }
  .brand-panels-grid { gap: 80px; }
  .brand-panel img { border-radius: var(--radius-sm); }
}

/* v2.3.10: 新 cover video (2206x946, 边缘取样 #F2F2FA 淡紫白) */
.about-cover {
  padding: 0;
  background: #F2F2FA;
}
.about-cover-frame {
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 2206 / 946;
  overflow: hidden;
  background: #F2F2FA;
}
.about-cover-video {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .about-cover-frame { max-width: none; }
}
@media (max-width: 768px) {
  .hero--video { aspect-ratio: 5 / 2; max-height: 260px; padding: 12px 0; }
}

/* 内页 hero 减配版渐变背景 (跟首页 banner 同色系但只用 1 团, 更淡)
   用法: <section class="hero hero--compact hero--tinted"> */
.hero--tinted {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border-bottom: 1px solid var(--border);
}
.hero--tinted::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 320px at 80% 10%, rgba(129, 140, 248, 0.14), transparent 60%),
    radial-gradient(500px 280px at 15% 100%, rgba(14, 165, 233, 0.10), transparent 55%);
}
.hero--tinted > * { position: relative; }
.hero-content { max-width: 720px; margin: 0 auto; text-align: center; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-scroll, .hero-scroll-line { display: none; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-2);
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.hero-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700; color: var(--text-1);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 28px;
}

/* Hero asymmetric (.hero--split) */
.hero--split { padding: 64px 0 72px; }
.hero-split-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.hero-split-inner .hero-badge { display: inline-flex; }
.hero-split-inner .hero-title { text-align: left; margin-bottom: 20px; }
.hero-split-inner .hero-subtitle {
  text-align: left;
  margin: 0 0 28px 0;
  max-width: 520px;
}
.hero-split-inner .hero-actions { justify-content: flex-start; }

.hero-orb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 360px;
  margin-left: auto;
}
.hero-orb svg { width: 100%; height: 100%; display: block; }

/* Hero banner v2.3.3: 中央大字, 无右侧视觉, 底部轻装饰 */
.hero--banner {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border-bottom: 1px solid var(--border);
}
.hero-banner-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 300px at 15% 20%, rgba(129, 140, 248, 0.18), transparent 60%),
    radial-gradient(700px 340px at 85% 80%, rgba(14, 165, 233, 0.14), transparent 60%),
    radial-gradient(500px 260px at 50% 100%, rgba(79, 70, 229, 0.10), transparent 55%);
}
.hero-banner-inner {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero--banner .hero-badge { margin: 0 auto 22px; }
.hero--banner .hero-title {
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero--banner .hero-subtitle {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
  max-width: 680px;
  margin: 0 auto 32px;
}
.hero--banner .hero-actions { justify-content: center; }

@media (max-width: 768px) {
  .hero--banner { padding: 64px 0 56px; }
  .hero--banner .hero-title { font-size: clamp(24px, 6vw, 32px); }
  .hero--banner .hero-subtitle { font-size: 14.5px; }
}

/* ---------- Industry strip ---------- */
.industry-strip {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.industry-strip-lead {
  color: var(--text-3);
  font-size: 13px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.industry-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.industry-chips .ic {
  padding: 5px 12px;
  font-size: 12.5px;
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
}

/* ---------- Cards & Grid ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
  text-decoration: none;
  color: inherit;
  position: relative;
  display: block;
}
.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft-hover);
  transform: translateY(-2px);
}
.card--clickable { cursor: pointer; }
.card-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--accent-bg);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 20px; height: 20px; }
.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.card-text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}
.card-arrow {
  position: absolute;
  top: 26px; right: 26px;
  color: var(--accent);
  font-size: 18px;
  opacity: 0;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.card--clickable:hover .card-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* ---------- Value Grid ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.value-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft-hover);
}
.value-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--accent-bg);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.value-icon svg { width: 20px; height: 20px; }
.value-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: initial;
}
.value-text {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ---------- Tech Card Grid (6 cards) ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tech-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  overflow: hidden;
}
.tech-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft-hover);
}
.tech-card-num {
  position: absolute;
  top: 16px; right: 22px;
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.18;
  letter-spacing: -0.02em;
}
.tech-card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  padding-right: 48px;
}
.tech-card-text {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ---------- Architecture stack (3 layers) ---------- */
.arch-stack {
  max-width: 840px;
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
.arch-layer {
  width: 100%;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
}
.arch-lab {
  color: var(--accent);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.08em;
}
.arch-name {
  color: var(--text-1);
  font-size: 16px; font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.arch-desc {
  color: var(--text-2);
  font-size: 12.5px;
  line-height: 1.55;
}
.arch-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: flex-end;
  max-width: 380px;
}
.arch-chips span {
  padding: 4px 10px;
  font-size: 12px;
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}
.arch-connector {
  height: 26px;
  width: 1px;
  background: var(--border-strong);
  position: relative;
}
.arch-connector::after {
  content: attr(data-label);
  position: absolute;
  left: 14px;
  top: 50%; transform: translateY(-50%);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ---------- Bento (1 main + 2 side) ---------- */
.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.bento-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft-hover);
  transform: translateY(-2px);
}
.bento-feature .tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-bg);
  color: var(--accent-text);
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  width: fit-content;
}
.bento-feature h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
}
.bento-feature p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.bento-feature .keywords {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin-bottom: auto;
}
.bento-feature .keywords span {
  padding: 4px 10px;
  font-size: 12px;
  color: var(--accent-text);
  background: var(--accent-bg);
  border: 1px solid #BAE6FD;
  border-radius: var(--radius-sm);
}
.bento-feature .arrow {
  margin-top: 20px;
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
}
.bento-card .ico {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--accent-bg);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.bento-card .ico svg { width: 20px; height: 20px; }
.bento-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.bento-card p {
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: auto;
}
.bento-card .card-link {
  margin-top: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
}

/* ---------- Products grid (products page v2.3: 3 列并排卡片) ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}
.product-card {
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  scroll-margin-top: 80px;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-soft-hover);
}
.product-card-visual {
  aspect-ratio: 5 / 4;
  background: linear-gradient(135deg, #EFF6FF, #F1F5F9);
  border-bottom: 1px solid var(--border);
  display: grid; place-items: center;
  overflow: hidden;
}
.product-card-img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform .3s ease;
}
.product-card:hover .product-card-img { transform: scale(1.03); }
.product-card-body {
  padding: 22px 24px 26px;
  display: flex; flex-direction: column;
  flex-grow: 1;
}
.product-card-tag {
  display: inline-block; align-self: flex-start;
  padding: 3px 10px;
  background: var(--accent-bg);
  color: var(--accent-text);
  border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.product-card-title {
  font-size: 20px; font-weight: 700;
  color: var(--text-1);
  line-height: 1.3;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}
.product-card-text {
  font-size: 14px; line-height: 1.65;
  color: var(--text-2);
  margin: 0 0 16px 0;
  flex-grow: 1;
}
.product-card-keywords {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 20px;
}
.product-card-keyword {
  font-size: 12px;
  color: var(--text-3);
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
}
.product-card-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-text);
  display: inline-flex; align-items: center; gap: 4px;
}
.product-card-demo {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  display: flex; gap: 8px; flex-wrap: wrap;
}
.product-card-demo .btn { flex: 1 1 auto; }

@media (max-width: 960px) {
  .products-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-card-visual { aspect-ratio: 16 / 10; }
}

/* ---------- Product row (legacy: 详情子页 kb/gateway/paas.php 仍在用) ---------- */
.section--products { padding: 56px 0; }

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 80px;
}
.product-row:first-child { padding-top: 0; }
.product-row:last-child { padding-bottom: 0; border-bottom: none; }
.product-row--reverse .product-visual { order: 2; }
.product-row--reverse .product-info { order: 1; }

.product-info-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-bg);
  color: var(--accent-text);
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.product-info-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.product-info-title a { color: inherit; transition: color var(--t-fast); }
.product-info-title a:hover { color: var(--accent); }

.product-info-text {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 18px;
}

.product-keywords {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px;
}
.product-keyword {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  font-size: 12.5px;
  color: var(--accent-text);
  background: var(--accent-bg);
  border: 1px solid #BAE6FD;
  border-radius: var(--radius-sm);
}

.product-features { margin-bottom: 22px; }
.product-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-1);
}
.product-features li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-bg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path d='M2 5l2 2 4-4' stroke='%230369A1' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

.product-extra { margin-bottom: 22px; }
.product-extra-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.product-scenarios {
  display: flex; flex-direction: column; gap: 8px;
}
.product-scenario {
  display: flex; align-items: baseline; gap: 10px;
  padding: 11px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13.5px;
  line-height: 1.55;
}
.product-scenario-tag {
  flex-shrink: 0; font-weight: 600;
  color: var(--text-1);
}
.product-scenario-tag::after {
  content: '：'; color: var(--text-3); font-weight: 400;
}
.product-scenario-text { color: var(--text-2); }

.product-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  background: linear-gradient(135deg, #EFF6FF, #F1F5F9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: grid; place-items: center;
  overflow: hidden;
}
.product-visual--link { cursor: pointer; }
.product-visual--link:hover .product-visual-img { transform: translateY(-2px); }
.product-visual-img {
  position: relative;
  z-index: 1;
  width: 78%;
  height: auto;
  transition: transform var(--t) var(--ease);
}
.product-visual-hint {
  position: absolute;
  z-index: 2;
  bottom: 12px; left: 50%;
  transform: translate(-50%, 6px);
  padding: 6px 14px;
  font-size: 12px; font-weight: 600;
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.product-visual--link:hover .product-visual-hint {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Capability Block (About page) ---------- */
.capability-block {
  padding: 28px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.capability-block:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.capability-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--accent-bg);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.capability-icon svg { width: 20px; height: 20px; }
.capability-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.capability-list { display: flex; flex-direction: column; gap: 8px; }
.capability-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.65;
}
.capability-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
  padding: 22px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t-fast);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-q {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.45;
  margin-bottom: 10px;
}
.faq-a {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-3);
}

/* ---------- Logo Wall ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.logo-wall img,
.logo-wall .logo-item {
  height: 32px;
  display: grid; place-items: center;
  color: var(--text-3);
  font-weight: 500;
  font-size: 13px;
  opacity: 0.75;
}

/* ---------- CTA Banner (navy island) ---------- */
.cta-banner {
  position: relative;
  padding: 48px 40px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  text-align: center;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 0%, rgba(99, 102, 241, 0.18), transparent 55%),
    radial-gradient(circle at 75% 100%, rgba(6, 182, 212, 0.14), transparent 55%);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.cta-banner h2 .gradient-text {
  background: linear-gradient(135deg, #67E8F9, #A5B4FC);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-banner p {
  color: #CBD5E1;
  font-size: 14.5px;
  margin-bottom: 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.cta-banner .hero-actions { justify-content: center; }
.cta-banner .btn--primary {
  background: #fff;
  color: var(--primary);
}
.cta-banner .btn--primary:hover { background: #F1F5F9; filter: none; }
.cta-banner .btn--primary::after { display: none; }
.cta-banner .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.cta-banner .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* ---------- Forms (Contact) ---------- */
.form-row { display: grid; gap: 16px; }
.form-row.form-row--2 { grid-template-columns: 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-1);
}
.form-input, .form-textarea, .form-select {
  padding: 11px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  color: var(--text-1);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.12);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-submit { margin-top: 8px; }

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.contact-info,
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.contact-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.contact-info p,
.contact-info-item p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.65;
}
.contact-info-list {
  display: flex; flex-direction: column;
  gap: 16px;
}
.contact-info-item {
  display: flex; gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-info-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: var(--accent-bg);
  color: var(--accent);
  display: grid; place-items: center;
}
.contact-info-icon svg { width: 18px; height: 18px; }
.contact-info-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 4px;
}

/* ---------- Comparison Table (gateway detail page) ---------- */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 13.5px;
}
.comparison-table th,
.comparison-table td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  background: var(--bg-alt);
  color: var(--text-1);
  font-weight: 600;
  font-size: 13px;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td:first-child {
  font-weight: 500;
  color: var(--text-1);
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 28px;
}
.footer-brand .brand { margin-bottom: 12px; }
.footer-tagline {
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.65;
  max-width: 340px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.footer-col ul { padding: 0; list-style: none; }
.footer-col li, .footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 13.5px;
  color: var(--text-2);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-3);
}
.footer-icp a { color: var(--text-3); }
.footer-icp a:hover { color: var(--accent); }

/* ====================================================================
   Responsive
   ==================================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .product-row { grid-template-columns: 1fr; gap: 36px; }
  .product-row--reverse .product-visual,
  .product-row--reverse .product-info { order: initial; }
  .product-visual { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .form-row.form-row--2 { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .hero-split-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero-split-inner .hero-title { text-align: center; }
  .hero-split-inner .hero-subtitle { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-split-inner .hero-actions { justify-content: center; }
  .hero-orb { max-width: 280px; margin: 0 auto; }
  .bento { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .arch-layer { grid-template-columns: 1fr; gap: 10px; }
  .arch-chips { justify-content: flex-start; max-width: none; }
}

@media (max-width: 768px) {
  body { font-size: 15px; line-height: 1.6; }
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .section--sm { padding: 40px 0; }
  .section-head { margin-bottom: 32px; }
  .hero { padding: 48px 0 40px; }
  .hero--split { padding: 48px 0 40px; }

  /* Nav (mobile) */
  .nav-inner { gap: 12px; }
  .brand { font-size: 14px; }
  .brand-logo { height: 40px; width: auto; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .nav.is-open,
  .nav.is-open.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--bg-card);
  }
  .nav.is-open .nav-cta {
    display: flex; align-items: center; justify-content: center;
    position: fixed;
    left: 20px; right: 20px; bottom: 24px;
    z-index: 100;
    padding: 14px 22px;
    font-size: 15px; font-weight: 500;
    background: var(--primary); color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.is-open {
    display: flex;
    position: fixed; inset: 64px 0 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-page);
    padding: 24px 20px 100px;
    gap: 4px;
    overflow-y: auto;
  }
  .nav-links.is-open li { width: 100%; }
  .nav-links.is-open li a,
  .nav-links.is-open .nav-link {
    display: block; width: 100%;
    padding: 14px 18px;
    font-size: 15px; font-weight: 500;
    color: var(--text-1);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: left;
  }
  .nav-links.is-open li.current-menu-item a,
  .nav-links.is-open li.current_page_item a,
  .nav-links.is-open .nav-link.is-active {
    background: var(--bg-alt);
    border-color: var(--border-strong);
  }

  /* Font size cascade on mobile */
  .hero-title { font-size: 26px !important; line-height: 1.15; }
  .hero-subtitle { font-size: 14px !important; max-width: 100%; }
  .hero-badge { font-size: 11.5px; padding: 5px 12px; }
  .section-title { font-size: 21px !important; }
  .section-subtitle { font-size: 13.5px; }
  .section-tag { font-size: 11px; }
  .card { padding: 22px 20px; }
  .card-title { font-size: 16px; }
  .card-text { font-size: 13px; }
  .product-info-title { font-size: 22px !important; }
  .product-info-text { font-size: 14px; }
  .product-features li { font-size: 13.5px; padding: 6px 0; }
  .product-keyword { font-size: 11.5px; padding: 4px 10px; }
  .product-scenario { font-size: 13px; padding: 10px 12px; }
  .tech-card { padding: 22px 20px; }
  .tech-card-title { font-size: 16px; padding-right: 38px; }
  .tech-card-text { font-size: 13px; }
  .tech-card-num { font-size: 28px; top: 14px; right: 16px; }
  .value-card { padding: 22px 20px; }
  .value-title { font-size: 16px; }
  .value-text { font-size: 13px; }
  .faq-item { padding: 18px 20px; }
  .faq-q { font-size: 15px; }
  .faq-a { font-size: 13px; }
  .cta-banner { padding: 36px 24px; }
  .cta-banner h2 { font-size: 21px; }
  .cta-banner p { font-size: 13.5px; }
  .btn { font-size: 13.5px; padding: 11px 20px; }
  .btn--lg { font-size: 14.5px; padding: 12px 22px; }

  /* Architecture stack mobile */
  .arch-layer { padding: 16px 18px; gap: 10px; }
  .arch-lab { font-size: 11px; }
  .arch-name { font-size: 14px; }
  .arch-desc { font-size: 12px; }
  .arch-chips span { font-size: 11.5px; padding: 3px 8px; }
  .arch-connector { height: 20px; }
  .arch-connector::after { font-size: 10.5px; left: 12px; }

  /* Industry strip mobile */
  .industry-strip { padding: 16px 20px; gap: 10px; flex-direction: column; }
  .industry-strip-lead { font-size: 12px; }
  .industry-chips .ic { font-size: 11.5px; padding: 4px 10px; }

  /* Bento mobile */
  .bento-card { padding: 22px 20px; }
  .bento-feature h3 { font-size: 18px; }
  .bento-feature p { font-size: 13px; }
  .bento-feature .tag { font-size: 11px; padding: 4px 9px; }
  .bento-feature .keywords span { font-size: 11.5px; padding: 4px 9px; }
  .bento-feature .arrow { font-size: 12.5px; margin-top: 16px; }
  .bento-card h4 { font-size: 16px; }
  .bento-card p { font-size: 12.5px; }
  .bento-card .ico { width: 36px; height: 36px; margin-bottom: 14px; }
  .bento-card .card-link { font-size: 12.5px; margin-top: 14px; }

  /* Capability blocks mobile */
  .capability-block { padding: 22px 20px; }
  .capability-title { font-size: 16px; }
  .capability-list li { font-size: 13px; }

  /* Forms / contact mobile */
  .contact-info, .contact-form-wrap { padding: 22px; }

  /* Product visual hidden on mobile (decorative) */
  .product-visual { display: none; }
  .product-row { gap: 0; padding: 32px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; font-size: 12px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  /* Stats / Logo wall mobile */
  .stats { grid-template-columns: 1fr 1fr; padding: 24px; gap: 18px; }
  .stat-num { font-size: 22px; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); padding: 24px; }

  /* Brand / footer mobile */
  .brand { font-size: 13.5px; }
  .footer { padding: 36px 0 20px; }
  .footer-col h4 { font-size: 11.5px; }
  .footer-col li, .footer-col a { font-size: 13px; padding: 4px 0; }
  .footer-tagline { font-size: 12.5px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .section--sm { padding: 36px 0; }
  .section-head { margin-bottom: 28px; }
  .hero-title { font-size: 23px !important; }
  .section-title { font-size: 19px !important; }
  .product-info-title { font-size: 20px !important; }
  .cta-banner { padding: 32px 20px; }
  .cta-banner h2 { font-size: 19px; }
  .hero-orb { max-width: 200px; }
  .arch-layer { padding: 14px 16px; }
  .arch-chips span { font-size: 11px; padding: 3px 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
 * KB Demo: 产品页 demo 入口条 + Modal + 申请表单
 * ============================================================ */
.product-demo-strip {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 10px; margin-top: 18px;
  padding: 12px 14px;
  background: var(--accent-bg);
  border: 1px dashed var(--accent);
  border-radius: var(--radius-sm);
}
.product-demo-label {
  font-size: 12px; font-weight: 600;
  color: var(--accent-text); letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-right: 4px;
}

body.gc-modal-open { overflow: hidden; }

.gc-modal[hidden] { display: none !important; }
.gc-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  padding: 20px;
}
.gc-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}
.gc-modal-dialog {
  position: relative;
  width: 100%; max-width: 460px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  padding: 28px 28px 22px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.gc-modal-x {
  position: absolute; top: 10px; right: 12px;
  width: 32px; height: 32px;
  border: 0; background: transparent;
  font-size: 22px; line-height: 1; color: var(--text-muted);
  cursor: pointer; border-radius: 6px;
}
.gc-modal-x:hover { background: var(--bg-alt); color: var(--primary); }

.gc-modal-title {
  margin: 0 0 10px;
  font-size: 18px; font-weight: 700;
  color: var(--primary);
}
.gc-modal-text {
  margin: 0 0 18px;
  font-size: 13.5px; line-height: 1.65;
  color: var(--text);
}

.gc-modal-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 18px;
}
.gc-modal-actions--end { justify-content: flex-end; }
.gc-modal-actions .btn { flex: 0 0 auto; }

/* 表单 */
.gc-kb-form { display: block; }
.gc-field { margin-bottom: 14px; }
.gc-field-label {
  display: block;
  font-size: 12.5px; font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}
.gc-required { color: #DC2626; font-weight: 700; }
.gc-optional { color: var(--text-muted); font-weight: 400; font-size: 11.5px; }

.gc-input {
  width: 100%;
  padding: 9px 12px;
  font-size: 14px; line-height: 1.45;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  box-sizing: border-box;
}
.gc-input::placeholder { color: var(--text-muted); }
.gc-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-bg);
}
.gc-textarea { resize: vertical; min-height: 56px; }

.gc-captcha-row {
  display: flex; align-items: stretch; gap: 8px;
}
.gc-captcha-q {
  display: inline-flex; align-items: center;
  padding: 0 14px;
  font-size: 16px; font-weight: 700;
  color: var(--accent-text);
  background: var(--accent-bg);
  border: 1px dashed var(--accent);
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  user-select: none;
  white-space: nowrap;
}
.gc-captcha-input { flex: 1 1 auto; }
.gc-captcha-refresh {
  flex: 0 0 auto;
  width: 38px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px; color: var(--text-muted);
  cursor: pointer;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.gc-captcha-refresh:hover { color: var(--accent); border-color: var(--accent); }

.gc-honeypot {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.gc-kb-msg {
  margin-top: 6px;
  padding: 10px 12px;
  font-size: 13px; line-height: 1.5;
  border-radius: var(--radius-sm);
}
.gc-kb-msg--success { background: #ECFDF5; color: #047857; border: 1px solid #6EE7B7; }
.gc-kb-msg--error   { background: #FEF2F2; color: #B91C1C; border: 1px solid #FCA5A5; }
.gc-kb-msg--info    { background: var(--bg-alt); color: var(--text); border: 1px solid var(--border); }

@media (max-width: 480px) {
  .gc-modal { padding: 12px; }
  .gc-modal-dialog { padding: 22px 18px 16px; }
  .gc-modal-actions .btn { flex: 1 1 auto; }
  .product-demo-strip { gap: 8px; padding: 10px 12px; }
  .product-demo-strip .btn { flex: 1 1 100%; }
}

