/* ============================================================
   简机科技 Jianji Tech — 官网设计系统
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  /* 品牌 */
  --brand: #4f46e5;
  --brand-2: #06b6d4;
  --brand-grad: linear-gradient(120deg, #4f46e5 0%, #06b6d4 100%);
  --brand-grad-soft: linear-gradient(120deg, rgba(79, 70, 229, .08), rgba(6, 182, 212, .08));

  /* 产品线强调色 */
  --jar: #7c3aed;
  --jar-2: #ec4899;
  --jar-grad: linear-gradient(120deg, #7c3aed 0%, #ec4899 100%);
  --nc: #06b6d4;
  --nc-2: #10b981;
  --nc-grad: linear-gradient(120deg, #06b6d4 0%, #10b981 100%);

  /* 中性色 */
  --ink: #0b1220;
  --ink-2: #1e293b;
  --text: #334155;
  --muted: #64748b;
  --line: #e5eaf1;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-tint: #eef2ff;

  /* 圆角 & 阴影 */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-md: 0 6px 16px -6px rgba(16, 24, 40, .12), 0 2px 6px -2px rgba(16, 24, 40, .08);
  --shadow-lg: 0 24px 48px -12px rgba(16, 24, 40, .22);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1200px;
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- 布局工具 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--brand-grad); border-radius: 2px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.section-head p { font-size: 18px; color: var(--muted); }
.section-head.left .eyebrow::before { margin-left: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 12px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand-grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .55); }
.btn--primary:hover { box-shadow: 0 14px 28px -8px rgba(79, 70, 229, .6); }
.btn--ghost { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .3); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255, 255, 255, .24); }
.btn--lg { padding: 16px 30px; font-size: 16px; border-radius: 14px; }
.btn--sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- 徽章 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.badge--jar { background: rgba(124, 58, 237, .1); color: #7c3aed; }
.badge--nc { background: rgba(6, 182, 212, .12); color: #0891b2; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-bar { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.brand-sub { font-size: 10px; font-weight: 600; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.site-nav > li { position: relative; }
.site-nav > li > a {
  display: inline-flex; align-items: center; gap: 5px; padding: 8px 14px;
  font-size: 15px; font-weight: 500; color: var(--ink-2); border-radius: 9px; transition: color .15s, background .15s;
}
.site-nav > li > a:hover { color: var(--brand); background: var(--brand-grad-soft); }
.site-nav > li > a.active { color: var(--brand); }
.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .55; transition: transform .2s; }
.has-dropdown:hover .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-dropdown:hover .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: 10px; }
.dropdown a:hover { background: var(--bg-soft); }
.dropdown .d-icon { width: 36px; height: 36px; border-radius: 9px; flex: none; display: grid; place-items: center; font-size: 18px; }
.dropdown .d-title { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.dropdown .d-desc { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

.nav-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.lang-switch {
  font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 7px 12px; border-radius: 9px;
  border: 1px solid var(--line); transition: color .15s, border-color .15s;
}
.lang-switch:hover { color: var(--brand); border-color: var(--brand); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 150px 0 96px; background: radial-gradient(1200px 600px at 80% -10%, #eef2ff 0%, transparent 55%), radial-gradient(900px 500px at 0% 10%, #ecfeff 0%, transparent 50%), var(--bg); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(79,70,229,.06) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000 0%, transparent 70%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 26px; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-grad); box-shadow: 0 0 0 4px rgba(79,70,229,.12); }
.hero h1 { font-size: clamp(38px, 6.4vw, 66px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 22px; }
.hero h1 .grad { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); max-width: 620px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 56px; }
.hero-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 28px; box-shadow: var(--shadow-sm); min-width: 132px; }
.hero-stat b { display: block; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.hero-stat span { font-size: 13px; color: var(--muted); }

/* ---------- 产品矩阵卡片 ---------- */
.matrix-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.product-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: 40px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card .p-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.p-logo { width: 54px; height: 54px; border-radius: 15px; flex: none; display: grid; place-items: center; color: #fff; font-size: 26px; }
.p-logo.jar { background: var(--jar-grad); box-shadow: 0 10px 22px -8px rgba(124, 58, 237, .6); }
.p-logo.nc { background: var(--nc-grad); box-shadow: 0 10px 22px -8px rgba(6, 182, 212, .55); }
.product-card h3 { font-size: 24px; margin-bottom: 4px; }
.product-card .p-en { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.product-card .p-tagline { font-size: 16.5px; color: var(--text); margin-bottom: 22px; }
.product-card .p-points { display: grid; gap: 12px; margin-bottom: 28px; }
.p-point { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.p-point .tick { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px; color: #fff; font-size: 12px; font-weight: 700; }
.p-point.jar .tick { background: var(--jar-grad); }
.p-point.nc .tick { background: var(--nc-grad); }
.product-card .p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-card .link { font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.product-card .link:hover { text-decoration: underline; }

/* ---------- 特性网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px; transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature .f-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.feature h4 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--muted); }
.f-icon.jar { background: rgba(124, 58, 237, .1); }
.f-icon.nc { background: rgba(6, 182, 212, .1); }
.f-icon.brand { background: var(--brand-grad-soft); }

/* ---------- 解决方案 ---------- */
.solution { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.solution:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #c7d2fe; }
.solution .s-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: var(--brand-grad-soft); }
.solution h4 { font-size: 16.5px; margin-bottom: 6px; }
.solution p { font-size: 14px; color: var(--muted); }
.solution .tag { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--brand); }

/* ---------- 数据亮点 / 为什么选我们 ---------- */
.why { display: flex; gap: 20px; align-items: flex-start; padding: 28px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.why .n { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--brand-grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.why h4 { font-size: 17px; margin-bottom: 8px; }
.why p { font-size: 14.5px; color: var(--muted); }

/* ---------- CTA 横幅 ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--brand-grad); color: #fff; padding: 64px 56px; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px); background-size: 24px 24px; opacity: .6; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 17px; max-width: 560px; margin: 0 auto 30px; position: relative; }
.cta-band .btn { position: relative; }
.cta-band .btn--primary { background: #fff; color: var(--brand); box-shadow: none; }
.cta-band .btn--primary:hover { background: #f3f4ff; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0b1220; color: #94a3b8; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin: 16px 0 20px; font-size: 14.5px; line-height: 1.7; max-width: 300px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #64748b; }
.footer-col h5 { color: #e2e8f0; font-size: 14px; font-weight: 700; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col a { display: block; padding: 6px 0; font-size: 14px; color: #94a3b8; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(148, 163, 184, .16); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 产品详情页 Hero ---------- */
.phero { position: relative; overflow: hidden; padding: 150px 0 88px; color: #fff; }
.phero.jar { background: linear-gradient(140deg, #2e1065 0%, #6d28d9 55%, #a21caf 100%); }
.phero.nc { background: linear-gradient(140deg, #083344 0%, #0e7490 50%, #0d9488 100%); }
.phero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px); background-size: 28px 28px; opacity: .5; }
.phero-inner { position: relative; z-index: 1; max-width: 820px; }
.phero .badge { background: rgba(255,255,255,.16); color: #fff; margin-bottom: 20px; }
.phero h1 { color: #fff; font-size: clamp(34px, 5vw, 52px); letter-spacing: -.02em; margin-bottom: 18px; }
.phero .lead { font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,.86); margin-bottom: 34px; max-width: 640px; }
.phero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.phero .btn--primary { background: #fff; color: var(--ink); box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); }
.phero .btn--primary:hover { background: #f5f6ff; }

/* ---------- 大特性卡（产品页） ---------- */
.biggrid { display: grid; gap: 24px; }
.biggrid-2 { grid-template-columns: repeat(2, 1fr); }
.bigcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.bigcard h3 { font-size: 20px; margin-bottom: 10px; }
.bigcard p { color: var(--muted); font-size: 15px; }
.bigcard .b-icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 24px; margin-bottom: 18px; }

/* ---------- 模块能力表 ---------- */
.cap-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.cap-item { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.cap-item:last-child { border-bottom: 0; }
.cap-item:hover { background: var(--bg-soft); }
.cap-item .c-name { font-weight: 700; color: var(--ink); font-size: 15.5px; }
.cap-item .c-name small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.cap-item .c-desc { font-size: 14.5px; color: var(--text); }
.cap-item .c-tag { font-size: 12.5px; font-weight: 600; }

/* ---------- Roadmap ---------- */
.roadmap { display: grid; gap: 16px; }
.road { display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; background: #fff; border: 1px dashed var(--line); border-radius: var(--r-md); }
.road .phase { flex: none; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.phase.now { background: rgba(6, 182, 212, .14); color: #0891b2; }
.phase.next { background: #eef2ff; color: var(--brand); }
.road p { font-size: 15px; color: var(--text); }
.road p b { color: var(--ink); }

/* ---------- 步骤/流程 ---------- */
.flow { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.flow .step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 22px; text-align: center; box-shadow: var(--shadow-sm); }
.flow .step b { display: block; font-size: 16px; color: var(--ink); }
.flow .step span { font-size: 12.5px; color: var(--muted); }
.flow .arr { font-size: 22px; color: var(--brand); font-weight: 700; }

/* ---------- 文档页 ---------- */
.doc-card { display: flex; gap: 18px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: transform .2s, box-shadow .2s; }
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.doc-card .d-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--brand-grad-soft); }
.doc-card h4 { font-size: 16.5px; margin-bottom: 6px; }
.doc-card p { font-size: 14px; color: var(--muted); }
.doc-card a { font-size: 14px; font-weight: 600; color: var(--brand); display: inline-block; margin-top: 10px; }
.doc-card a:hover { text-decoration: underline; }

/* ---------- 关于页 ---------- */
.about-hero { text-align: center; padding: 150px 0 60px; }
.about-hero h1 { font-size: clamp(34px, 5vw, 50px); margin-bottom: 16px; }
.about-hero p { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0 auto; }
.value { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); text-align: center; }
.value .v-icon { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: var(--brand-grad-soft); }
.value h4 { font-size: 17px; margin-bottom: 8px; }
.value p { font-size: 14.5px; color: var(--muted); }

/* ---------- 联系页 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-info .ci { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.contact-info .ci .ico { width: 42px; height: 42px; flex: none; border-radius: 11px; display: grid; place-items: center; font-size: 20px; background: var(--brand-grad-soft); }
.contact-info h4 { font-size: 15.5px; margin-bottom: 3px; }
.contact-info p { font-size: 14px; color: var(--muted); }
.wx-qr { width: 132px; height: auto; display: block; margin: 10px 0 8px; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.wx-hint { font-size: 13px; color: var(--muted); margin: 0; }
.footer-qr { width: 96px; height: auto; display: block; margin-top: 10px; border-radius: 10px; border: 1px solid var(--line); }
.wx-qr, .footer-qr { cursor: zoom-in; transition: transform .2s ease, box-shadow .2s ease; }
.wx-qr:hover, .footer-qr:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.qr-lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(10,12,28,.72); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.qr-lightbox.is-open { opacity: 1; pointer-events: auto; }
.qr-lightbox img { width: 280px; height: auto; border-radius: 16px; box-shadow: 0 24px 64px rgba(0,0,0,.5); transform: scale(.9); transition: transform .25s ease; }
.qr-lightbox.is-open img { transform: scale(1); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: var(--bg); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79,70,229,.12); }
.field textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success { display: none; margin-bottom: 18px; padding: 13px 16px; border-radius: 10px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; font-size: 14px; font-weight: 600; }
.form-success.show { display: block; }
.form-error { display: none; margin-bottom: 18px; padding: 13px 16px; border-radius: 10px; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 14px; font-weight: 600; }
.form-error.show { display: block; }

/* ---------- 滚动渐显 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; }
.reveal.d4 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .biggrid-2 { grid-template-columns: 1fr; }
  .cap-item { grid-template-columns: 1fr; gap: 6px; }
  .section { padding: 64px 0; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 68px 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 16px 24px 40px; gap: 2px; overflow-y: auto;
    transform: translateX(100%); transition: transform .28s ease; box-shadow: var(--shadow-lg);
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav > li > a { padding: 13px 12px; font-size: 16px; justify-content: space-between; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; min-width: 0; }
  .has-dropdown.is-open .dropdown { display: block; }
  .nav-actions .btn { display: none; }
  .nav-actions .lang-switch { margin-left: auto; }
}

@media (max-width: 720px) {
  .matrix-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 72px; }
  .hero-stats { gap: 12px; }
  .cta-band { padding: 44px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .container { padding: 0 18px; }
}

@media (max-width: 520px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
