/* ==========================================================================
   文思科技 · WENSI TECH — 设计系统
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand — 大胆高饱和的电光紫蓝体系 */
  --brand: #4a2ff0;
  --brand-600: #3a1ddb;
  --brand-400: #9385ff;
  --brand-050: #efecff;
  --cyan: #00c2d6;
  --violet: #a238ff;
  --magenta: #ff2d78;
  --amber: #ff8a1f;
  --lime: #10cf8a;

  /* Gradients */
  --grad-brand: linear-gradient(115deg, #4a2ff0 0%, #8b2ff0 48%, #ff2d78 100%);
  --grad-cool: linear-gradient(115deg, #4a2ff0 0%, #00c2d6 100%);
  --grad-warm: linear-gradient(115deg, #ff8a1f 0%, #ff2d78 100%);
  --grad-deep: linear-gradient(140deg, #160b3d 0%, #0b0a2e 45%, #07131f 100%);

  /* Ink */
  --ink: #070b1c;
  --ink-2: #131c34;
  --ink-3: #2b3856;
  --muted: #59698a;
  --muted-2: #8493b2;

  /* Surface */
  --bg: #ffffff;
  --bg-soft: #f5f4ff;
  --bg-soft-2: #eceafd;
  --line: #e6e3f6;
  --line-2: #d1cbee;

  /* Effects */
  --shadow-s: 0 1px 2px rgba(10, 20, 36, .05);
  --shadow-m: 0 6px 24px -8px rgba(10, 20, 36, .12), 0 2px 6px rgba(10, 20, 36, .05);
  --shadow-l: 0 26px 60px -22px rgba(10, 20, 36, .22), 0 6px 18px -8px rgba(10, 20, 36, .1);
  --glow-brand: 0 22px 60px -24px rgba(74, 47, 240, .55);
  --ring: 0 0 0 4px rgba(74, 47, 240, .16);

  /* Layout */
  --wrap: 1200px;
  --wrap-wide: 1340px;
  --radius: 16px;
  --radius-s: 10px;
  --radius-l: 24px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(74, 47, 240, .18); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-wide { width: 100%; max-width: var(--wrap-wide); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--soft {
  background:
    radial-gradient(1100px 480px at 88% 0%, rgba(162, 56, 255, .09), transparent 62%),
    radial-gradient(900px 420px at 4% 100%, rgba(0, 194, 214, .09), transparent 62%),
    var(--bg-soft);
}
.section--dark {
  background:
    radial-gradient(1000px 560px at 12% -12%, rgba(74, 47, 240, .42), transparent 62%),
    radial-gradient(820px 480px at 92% 112%, rgba(255, 45, 120, .22), transparent 62%),
    radial-gradient(700px 420px at 78% 8%, rgba(0, 194, 214, .16), transparent 60%),
    var(--ink);
  color: rgba(255, 255, 255, .8);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.grad-line { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 3px;
  background: var(--grad-brand);
}
.section--dark .eyebrow { color: var(--brand-400); }

.h-display { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.03em; }
.h-section { font-size: clamp(1.6rem, 2.9vw, 2.35rem); letter-spacing: -.025em; }
.h-card { font-size: 1.16rem; }
.lead { font-size: 1.06rem; color: var(--muted); line-height: 1.85; }
.section--dark .lead { color: rgba(255, 255, 255, .62); }

.head { max-width: 760px; margin-bottom: 52px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-brand);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 30px -22px rgba(10, 20, 36, .3); }
.nav { display: flex; align-items: center; gap: 28px; height: 82px; }
.brand { display: flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.brand-mark { width: 47px; height: 30px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-cn { font-size: 1.24rem; font-weight: 800; letter-spacing: .05em; color: var(--ink); }
.brand-en { font-size: 9.5px; letter-spacing: .3em; color: var(--muted-2); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px; border-radius: 9px; font-size: .93rem; font-weight: 600;
  color: var(--ink-3); transition: background .18s, color .18s;
}
.nav-links a:hover { background: var(--bg-soft-2); color: var(--brand); }
.nav-links a.active { color: var(--brand); background: var(--brand-050); }
.nav-cta {
  margin-left: 12px; padding: 11px 22px !important; border-radius: 999px !important;
  background: var(--grad-brand) !important; color: #fff !important; font-size: .9rem;
  box-shadow: 0 10px 24px -12px rgba(74, 47, 240, .8);
}
.nav-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line-2);
  background: #fff; border-radius: 11px; cursor: pointer; padding: 0; place-items: center;
}
.nav-toggle span { display: block; width: 17px; height: 1.6px; background: var(--ink); margin: 3.6px auto; border-radius: 2px; transition: .25s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-size: .95rem; font-weight: 650;
  border: 1px solid transparent; cursor: pointer; transition: all .2s cubic-bezier(.2,.7,.3,1);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }
.btn { background: transparent; }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: 0 14px 30px -14px rgba(74, 47, 240, .85); }
.btn--primary:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(74, 47, 240, .9); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--brand); transform: translateY(-2px); box-shadow: var(--glow-brand); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: 0 12px 26px -16px rgba(74, 47, 240, .8); }
.btn--onDark { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn--onDark:hover { background: rgba(255, 255, 255, .26); border-color: #fff; transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; color: var(--brand); font-size: .94rem; }
.text-link svg { width: 14px; height: 14px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(4px); }
.section--dark .text-link { color: var(--brand-400); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 92px 0 88px; background: linear-gradient(180deg, #fbfaff 0%, #fff 68%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(74, 47, 240, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(74, 47, 240, .07) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 78% 66% at 62% 6%, #000 10%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 78% 66% at 62% 6%, #000 10%, transparent 74%);
  opacity: .9;
}
.hero-bg::after {
  content: ""; position: absolute; inset: -18% -12% auto -12%; height: 132%;
  background:
    radial-gradient(closest-side, rgba(74, 47, 240, .30), transparent) 80% 4% / 740px 740px no-repeat,
    radial-gradient(closest-side, rgba(162, 56, 255, .24), transparent) 56% 66% / 600px 600px no-repeat,
    radial-gradient(closest-side, rgba(0, 194, 214, .22), transparent) 104% 74% / 540px 540px no-repeat,
    radial-gradient(closest-side, rgba(255, 45, 120, .18), transparent) 24% -14% / 520px 520px no-repeat;
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 54px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.04em; line-height: 1.14; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #4a2ff0 4%, #a238ff 38%, #ff2d78 68%, #ff8a1f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 22px; font-size: 1.08rem; color: var(--muted); line-height: 1.85; max-width: 560px; }
.hero .btn-row { margin-top: 34px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 17px 8px 9px;
  border: 1px solid var(--line-2); background: #fff; border-radius: 999px;
  font-size: .82rem; font-weight: 700; color: var(--ink-3); box-shadow: var(--shadow-s);
}
.pill b { background: var(--grad-brand); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .74rem; letter-spacing: .02em; }

/* Hero capability panel */
.hero-panel {
  border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff;
  box-shadow: 0 40px 90px -40px rgba(74, 47, 240, .42), 0 12px 30px -18px rgba(10, 20, 36, .18);
  overflow: hidden;
}
.hero-panel-top {
  display: flex; align-items: center; gap: 8px; padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: var(--grad-deep);
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.hero-panel-title { margin-left: 8px; font-size: .76rem; letter-spacing: .12em; color: rgba(255, 255, 255, .68); font-weight: 700; font-family: var(--mono); }
.hero-panel-body { padding: 8px; }
.cap-row {
  display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-radius: 12px;
  transition: background .2s;
}
.cap-row + .cap-row { border-top: 1px dashed var(--line); }
.cap-row:hover { background: var(--brand-050); }
.cap-ico {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(145deg, #4a2ff0, #8b2ff0); box-shadow: 0 8px 18px -10px rgba(74, 47, 240, .9);
}
.cap-ico svg { width: 19px; height: 19px; stroke: #fff; }
.cap-row:nth-child(2) .cap-ico { background: linear-gradient(145deg, #8b2ff0, #ff2d78); box-shadow: 0 8px 18px -10px rgba(255, 45, 120, .8); }
.cap-row:nth-child(3) .cap-ico { background: linear-gradient(145deg, #00a7bd, #00c2d6); box-shadow: 0 8px 18px -10px rgba(0, 194, 214, .8); }
.cap-row:nth-child(4) .cap-ico { background: linear-gradient(145deg, #ff8a1f, #ff2d78); box-shadow: 0 8px 18px -10px rgba(255, 138, 31, .8); }
.cap-t { font-size: .95rem; font-weight: 700; color: var(--ink); }
.cap-d { font-size: .82rem; color: var(--muted); line-height: 1.6; }
.cap-badge {
  margin-left: auto; font-family: var(--mono); font-size: .74rem; font-weight: 700;
  color: #0a8f9f; background: #e2fafd; padding: 4px 10px; border-radius: 7px; white-space: nowrap;
}

/* ---------- Metric strip ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.metric { padding: 30px 26px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric-num {
  font-size: 2.35rem; font-weight: 850; letter-spacing: -.045em; color: var(--ink); line-height: 1.05;
  display: flex; align-items: baseline; gap: 4px;
}
.metric-num span { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric-num small { font-size: 1.05rem; font-weight: 800; color: var(--brand); }
.metric-lbl { margin-top: 8px; font-size: .87rem; color: var(--muted); }
.section--dark .metrics { border-color: rgba(255, 255, 255, .14); }
.section--dark .metric { border-right-color: rgba(255, 255, 255, .14); }
.section--dark .metric-num { color: #fff; }
.section--dark .metric-num span { background: linear-gradient(100deg, #b3a6ff 0%, #7de3f0 58%, #ff9ac6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--dark .metric-num small { color: #b3a6ff; }
.section--dark .metric-lbl { color: rgba(255, 255, 255, .55); }
.metric-strip {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden;
  box-shadow: 0 26px 60px -42px rgba(74, 47, 240, .5);
}

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

.card {
  position: relative; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-l);
  background: #fff; overflow: hidden;
  transition: transform .26s cubic-bezier(.2,.7,.3,1), box-shadow .26s, border-color .26s;
  display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-5px); box-shadow: 0 34px 70px -36px rgba(74, 47, 240, .5); border-color: var(--line-2); }
.card-ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(145deg, #4a2ff0, #8b2ff0);
  box-shadow: 0 12px 26px -14px rgba(74, 47, 240, .95);
}
.card-ico svg { width: 23px; height: 23px; stroke: #fff; }
.card-ico--cyan { background: linear-gradient(145deg, #00a7bd, #00c2d6); box-shadow: 0 12px 26px -14px rgba(0, 194, 214, .95); }
.card-ico--cyan svg { stroke: #fff; }
.card-ico--violet { background: linear-gradient(145deg, #8b2ff0, #ff2d78); box-shadow: 0 12px 26px -14px rgba(162, 56, 255, .95); }
.card-ico--violet svg { stroke: #fff; }
.card-ico--pink { background: linear-gradient(145deg, #ff2d78, #ff8a1f); box-shadow: 0 12px 26px -14px rgba(255, 45, 120, .95); }
.card-ico--pink svg { stroke: #fff; }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { font-size: .92rem; color: var(--muted); line-height: 1.8; }
.card-num {
  position: absolute; top: 26px; right: 28px; font-family: var(--mono);
  font-size: .8rem; font-weight: 800; color: var(--line-2);
}

/* ---------- Product cards ---------- */
.product-list { display: grid; gap: 22px; }
.product {
  display: grid; grid-template-columns: 300px 1fr; gap: 0; border: 1px solid var(--line);
  border-radius: var(--radius-l); overflow: hidden; background: #fff;
  transition: box-shadow .28s, border-color .28s, transform .28s cubic-bezier(.2,.7,.3,1);
}
.product:hover { box-shadow: var(--shadow-l); border-color: var(--line-2); transform: translateY(-3px); }
.product-side {
  padding: 34px 30px;
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(162, 56, 255, .12), transparent 62%),
    var(--bg-soft);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.product-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.product-logo .mark {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); font-size: 1.18rem; font-weight: 800;
  box-shadow: 0 10px 22px -16px rgba(74, 47, 240, .9);
}
.product-name { font-size: 1.14rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.product-name span { display: block; font-size: .66rem; letter-spacing: .22em; color: var(--muted-2); font-weight: 700; margin-top: 3px; }
.product-tag {
  align-self: flex-start; font-size: .75rem; font-weight: 700; padding: 4px 11px; border-radius: 999px;
  background: var(--brand-050); color: var(--brand); margin-bottom: 16px;
}
.product-tag--cyan { background: #e9fbfd; color: #0a8f9f; }
.product-tag--violet { background: #f2eeff; color: #6144d8; }
.product-tag--ink { background: var(--ink); color: #fff; }
.product-one { font-size: .9rem; color: var(--ink-3); line-height: 1.75; }
.product-meta { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: .74rem; font-weight: 650; padding: 4px 10px; border-radius: 7px;
  background: #fff; border: 1px solid var(--line-2); color: var(--muted);
}
.product-main { padding: 32px 34px; }
.product-main h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.feat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 26px; }
.feat { display: flex; gap: 10px; align-items: flex-start; }
.feat svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 4px; stroke: var(--brand); }
.feat b { display: block; font-size: .9rem; color: var(--ink); font-weight: 700; }
.feat span { font-size: .84rem; color: var(--muted); line-height: 1.7; }
.product-foot { margin-top: 24px; padding-top: 22px; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.mini-stat { display: flex; align-items: baseline; gap: 6px; }
.mini-stat b { font-size: 1.25rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.mini-stat span { font-size: .8rem; color: var(--muted); }
.product-foot .text-link { margin-left: auto; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 18px; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; transition: transform .26s, box-shadow .26s, border-color .26s; }
.step:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(74, 47, 240, .5); border-color: var(--line-2); }
.step-n {
  font-family: var(--mono); font-size: .8rem; font-weight: 800; color: #fff;
  background: var(--grad-brand); width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; margin-bottom: 18px;
  box-shadow: 0 10px 22px -12px rgba(74, 47, 240, .9);
}
.step:nth-child(2) .step-n { background: linear-gradient(145deg, #8b2ff0, #ff2d78); box-shadow: 0 10px 22px -12px rgba(255, 45, 120, .85); }
.step:nth-child(3) .step-n { background: linear-gradient(145deg, #00a7bd, #00c2d6); box-shadow: 0 10px 22px -12px rgba(0, 194, 214, .85); }
.step:nth-child(4) .step-n { background: linear-gradient(145deg, #ff8a1f, #ff2d78); box-shadow: 0 10px 22px -12px rgba(255, 138, 31, .85); }
.step h4 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: .87rem; color: var(--muted); line-height: 1.75; }
.steps--flow .step::after {
  content: ""; position: absolute; top: 42px; right: -18px; width: 18px; height: 1px; background: var(--line-2);
}
.steps--flow .step:last-child::after { display: none; }
.section--dark .step { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.section--dark .step p { color: rgba(255, 255, 255, .58); }
.section--dark .step-n { background: rgba(74, 47, 240, .22); color: #a8c4ff; }
.section--dark .steps--flow .step::after { background: rgba(255, 255, 255, .16); }

/* ---------- Quote / dialog ---------- */
.dialog { display: grid; gap: 14px; }
.bubble { padding: 18px 22px; border-radius: 14px; font-size: .92rem; line-height: 1.8; }
.bubble--user { background: var(--brand-050); border: 1px solid #d8e5ff; color: var(--ink-3); }
.bubble--ai { background: #fff; border: 1px solid var(--line); color: var(--ink-3); }
.bubble-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 7px; color: var(--muted-2); }
.bubble--user .bubble-label { color: var(--brand); }
.section--dark .bubble--user { background: rgba(74, 47, 240, .16); border-color: rgba(74, 47, 240, .34); color: #fff; }
.section--dark .bubble--ai { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .13); color: rgba(255, 255, 255, .84); }

/* ---------- Solutions ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sol {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden;
  background: #fff; padding: 36px 30px 30px; transition: transform .26s, box-shadow .26s, border-color .26s;
  display: flex; flex-direction: column;
}
.sol::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad-brand);
}
.sol:nth-child(3n+2)::before { background: linear-gradient(90deg, #00c2d6, #10cf8a); }
.sol:nth-child(3n+3)::before { background: linear-gradient(90deg, #ff8a1f, #ff2d78); }
.sol:hover { transform: translateY(-5px); box-shadow: 0 34px 70px -36px rgba(74, 47, 240, .5); border-color: var(--line-2); }
.sol h3 { font-size: 1.1rem; margin-bottom: 10px; }
.sol > p { font-size: .9rem; color: var(--muted); line-height: 1.8; }
.sol-sub { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.sol-sub-title { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; margin-bottom: 10px; }
.sol-items { display: flex; flex-wrap: wrap; gap: 7px; }
.sol-items span { font-size: .79rem; padding: 4px 10px; border-radius: 8px; background: var(--bg-soft); color: var(--ink-3); border: 1px solid var(--line); }

/* Sector chips */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sector {
  display: flex; align-items: center; gap: 12px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  font-weight: 700; color: var(--ink); font-size: .98rem;
  transition: transform .24s, box-shadow .24s, border-color .24s;
}
.sector::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto;
  background: var(--grad-brand); box-shadow: 0 0 0 4px rgba(74, 47, 240, .12);
}
.sector:nth-child(3n+2)::before { background: linear-gradient(135deg, #00c2d6, #10cf8a); box-shadow: 0 0 0 4px rgba(0, 194, 214, .14); }
.sector:nth-child(3n+3)::before { background: linear-gradient(135deg, #ff8a1f, #ff2d78); box-shadow: 0 0 0 4px rgba(255, 45, 120, .14); }
.sector:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 22px 46px -30px rgba(74, 47, 240, .8); }

/* ---------- Detail blocks (solution deep dive) ---------- */
.detail { border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; overflow: hidden; margin-bottom: 20px; }
.detail-head {
  display: flex; align-items: center; gap: 16px; padding: 24px 30px; cursor: pointer;
  border-bottom: 1px solid transparent; transition: background .2s;
}
.detail-head:hover { background: var(--bg-soft); }
.detail.open .detail-head { border-bottom-color: var(--line); }
.detail-idx {
  font-family: var(--mono); font-size: .76rem; font-weight: 800; color: var(--brand);
  border: 1px solid #d9d2ff; background: var(--brand-050); padding: 4px 10px; border-radius: 8px;
}
.detail-head h3 { font-size: 1.08rem; }
.detail-head .detail-tag { font-size: .78rem; color: var(--muted-2); margin-left: 4px; }
.detail-arrow { margin-left: auto; width: 26px; height: 26px; display: grid; place-items: center; transition: transform .3s; }
.detail-arrow svg { width: 15px; height: 15px; stroke: var(--muted); }
.detail.open .detail-arrow { transform: rotate(180deg); }
.detail-body { display: none; padding: 26px 30px 30px; }
.detail.open .detail-body { display: block; }
.detail-body > p { font-size: .93rem; color: var(--muted); line-height: 1.9; margin-bottom: 20px; }
.detail-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dcell { padding: 18px 20px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); }
.dcell b { display: block; font-size: .89rem; color: var(--ink); margin-bottom: 5px; }
.dcell span { font-size: .83rem; color: var(--muted); line-height: 1.7; }
.dcell--adv { background: #fff; border-style: dashed; }

/* ---------- Case / clients ---------- */
.client-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.client {
  position: relative; aspect-ratio: 2/3; border-radius: var(--radius-l); overflow: hidden;
  border: 1px solid var(--line); background: var(--ink-2);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s;
}
.client:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(74, 47, 240, .6); }
.client img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.client:hover img { transform: scale(1.06); }
.client-cap {
  position: absolute; inset: auto 0 0 0; padding: 34px 14px 15px;
  background: linear-gradient(to top, rgba(15, 8, 45, .94), rgba(15, 8, 45, .5) 55%, transparent);
  color: #fff; font-size: .84rem; font-weight: 700; line-height: 1.4; letter-spacing: .01em;
}
.client-cap span { display: block; font-size: .68rem; font-weight: 600; color: rgba(255, 255, 255, .6); margin-top: 3px; letter-spacing: .06em; }

.case {
  border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; background: #fff;
}
.case-top { display: grid; grid-template-columns: 1fr 340px; }
.case-body { padding: 40px 44px; }
.case-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.case-kicker .tag { font-size: .76rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: #e9fbfd; color: #0a8f9f; }
.case-kicker .tag--live { background: #e8f8ee; color: #12864a; }
.case h3 { font-size: 1.5rem; margin-bottom: 14px; letter-spacing: -.02em; }
.case-pain { margin: 22px 0; display: grid; gap: 10px; }
.case-pain li { display: flex; gap: 11px; font-size: .91rem; color: var(--muted); line-height: 1.75; }
.case-pain li::before { content: "×"; color: #e2574c; font-weight: 800; flex: 0 0 auto; }
.case-fix li { display: flex; gap: 11px; font-size: .91rem; color: var(--muted); line-height: 1.75; margin-bottom: 10px; }
.case-fix li::before { content: "✓"; color: #12864a; font-weight: 800; flex: 0 0 auto; }
.case-fix b { color: var(--ink); font-weight: 700; }
.case-side {
  padding: 40px 32px; background: var(--ink); color: rgba(255, 255, 255, .7);
  display: flex; flex-direction: column; gap: 20px;
}
.spec { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 13px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.spec-k { font-size: .8rem; color: rgba(255, 255, 255, .5); }
.spec-v { font-size: .9rem; font-weight: 700; color: #fff; text-align: right; }
.spec-v em { font-style: normal; color: var(--brand-400); }
.case-side .note { margin-top: auto; font-size: .78rem; line-height: 1.75; color: rgba(255, 255, 255, .55); border-left: 2px solid rgba(255, 255, 255, .22); padding-left: 13px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--brand), var(--cyan) 55%, transparent); border-radius: 2px; }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -33px; top: 7px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--brand); box-shadow: 0 0 0 4px var(--brand-050);
}
.tl-year { font-family: var(--mono); font-size: .82rem; font-weight: 700; color: var(--brand); letter-spacing: .04em; }
.tl-text { margin-top: 5px; display: grid; gap: 5px; }
.tl-text li { font-size: .94rem; color: var(--ink-3); }
.section--dark .timeline::before { background: linear-gradient(180deg, var(--brand-400), var(--cyan) 55%, transparent); }
.section--dark .tl-item::before { background: var(--ink); border-color: var(--brand-400); box-shadow: 0 0 0 4px rgba(74, 47, 240, .18); }
.section--dark .tl-year { color: var(--brand-400); }
.section--dark .tl-text li { color: rgba(255, 255, 255, .75); }

/* ---------- Compare table ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; overflow-x: auto; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 660px; }
table.cmp th, table.cmp td { padding: 16px 22px; text-align: left; font-size: .91rem; border-bottom: 1px solid var(--line); }
table.cmp thead th { background: var(--bg-soft); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
table.cmp thead th:nth-child(3) { color: var(--brand); background: var(--brand-050); }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody td:first-child { font-weight: 700; color: var(--ink); }
table.cmp tbody td:nth-child(3) { background: #f8f7ff; color: var(--ink); font-weight: 600; }
table.cmp tbody tr:hover td { background: var(--bg-soft); }
table.cmp tbody tr:hover td:nth-child(3) { background: #f0eeff; }

/* ---------- Badges / honors ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: flex; align-items: center; gap: 12px; padding: 15px 22px; border-radius: 14px;
  border: 1px solid var(--line); background: linear-gradient(180deg, #ffffff, var(--bg-soft));
  font-size: .89rem; font-weight: 700; color: var(--ink-3);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.badge:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -30px rgba(74, 47, 240, .7); border-color: var(--line-2); }
.badge svg { width: 19px; height: 19px; stroke: var(--brand); flex: 0 0 auto; }
.badge:nth-child(3n+2) svg { stroke: var(--magenta); }
.badge:nth-child(3n+3) svg { stroke: var(--cyan); }
.section--dark .badge { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .84); }
.section--dark .badge svg { stroke: #b3a6ff; }
.section--dark .badge:nth-child(3n+2) svg { stroke: #ff9ac6; }
.section--dark .badge:nth-child(3n+3) svg { stroke: #7de3f0; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-l);
  background: linear-gradient(135deg, #150a3d 0%, #3c1a95 42%, #8b2ff0 76%, #ff2d78 128%);
  padding: 70px 58px; color: rgba(255, 255, 255, .76);
  box-shadow: 0 40px 90px -46px rgba(74, 47, 240, .85);
}
.cta::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -260px;
  background: radial-gradient(circle, rgba(0, 194, 214, .55), transparent 62%); border-radius: 50%;
}
.cta::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 90% at 78% 20%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 78% 20%, #000, transparent 72%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.02em; }
.cta p { margin-top: 14px; max-width: 620px; font-size: 1rem; line-height: 1.85; }
.cta .btn-row { margin-top: 30px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.office { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: #fff; }
.office h3 { font-size: 1.06rem; margin-bottom: 6px; }
.office .office-role { font-size: .8rem; color: var(--brand); font-weight: 700; margin-bottom: 18px; }
.office dl { margin: 0; display: grid; gap: 14px; }
.office dt { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; margin-bottom: 3px; }
.office dd { margin: 0; font-size: .94rem; color: var(--ink-3); line-height: 1.7; }
.office dd a:hover { color: var(--brand); }

/* ---------- Form ---------- */
.form { border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; padding: 36px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .83rem; font-weight: 700; color: var(--ink-3); }
.field label i { color: #e2574c; font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 15px; border: 1px solid var(--line-2); border-radius: 11px;
  background: #fff; font-size: .93rem; transition: border-color .18s, box-shadow .18s;
}
.field textarea { min-height: 118px; resize: vertical; line-height: 1.7; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: var(--ring);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.form-foot { margin-top: 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-size: .8rem; color: var(--muted-2); line-height: 1.7; }
.form-ok {
  display: none; margin-top: 20px; padding: 14px 18px; border-radius: 12px;
  background: #e8f8ee; border: 1px solid #bde8ce; color: #12864a; font-size: .9rem;
}
.form-ok.show { display: block; }
.form-err {
  display: none; margin-top: 20px; padding: 14px 18px; border-radius: 12px;
  background: #fdeceb; border: 1px solid #f6c8c4; color: #c0392b; font-size: .9rem;
}
.form-err.show { display: block; }
/* 反垃圾蜜罐：移出可视区且不被辅助技术读到 */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled, .btn[disabled] { cursor: progress; opacity: .72; transform: none !important; filter: none !important; box-shadow: none !important; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 16px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq-q { display: flex; gap: 14px; align-items: flex-start; padding: 22px 26px; cursor: pointer; font-weight: 700; color: var(--ink); font-size: .98rem; }
.faq-q::before { content: "Q"; flex: 0 0 auto; font-family: var(--mono); font-size: .78rem; font-weight: 700; color: var(--brand); background: var(--brand-050); padding: 2px 7px; border-radius: 6px; margin-top: 4px; }
.faq-a { display: none; padding: 0 26px 24px 66px; font-size: .92rem; color: var(--muted); line-height: 1.85; }
.faq-item.open .faq-a { display: block; }
.faq-item.open { border-color: var(--line-2); box-shadow: var(--shadow-m); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background:
    radial-gradient(900px 420px at 88% -12%, rgba(162, 56, 255, .28), transparent 62%),
    radial-gradient(700px 360px at 4% 112%, rgba(0, 194, 214, .15), transparent 62%),
    var(--ink);
  color: rgba(255, 255, 255, .55); padding: 72px 0 34px;
}
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-brand); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand-cn { color: #fff; }
.site-footer .brand-en { color: rgba(255, 255, 255, .38); }
.footer-about { margin-top: 18px; font-size: .88rem; line-height: 1.85; max-width: 330px; }
.footer-h { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 700; margin-bottom: 18px; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { font-size: .89rem; transition: color .18s; }
.footer-links a:hover { color: var(--brand-400); }
.footer-contact { display: grid; gap: 11px; font-size: .89rem; }
.footer-contact b { color: #fff; font-weight: 650; display: block; font-size: .82rem; letter-spacing: .04em; }
.site-footer hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .1); margin: 44px 0 24px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; font-size: .8rem; color: rgba(255, 255, 255, .4); }
.footer-bottom a { color: rgba(255, 255, 255, .4); }
.footer-bottom a:hover { color: var(--brand-400); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; padding: 76px 0 64px; border-bottom: 1px solid var(--line); overflow: hidden;
  background:
    radial-gradient(760px 380px at 92% -20%, rgba(162, 56, 255, .18), transparent 62%),
    radial-gradient(620px 320px at 4% 120%, rgba(0, 194, 214, .14), transparent 62%),
    linear-gradient(180deg, #f7f5ff 0%, #fbfaff 100%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-brand); opacity: .85;
}
.page-hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -320px;
  background: radial-gradient(circle, rgba(74, 47, 240, .18), transparent 62%); border-radius: 50%;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.03em; }
.page-hero p { margin-top: 16px; max-width: 720px; font-size: 1.02rem; color: var(--muted); line-height: 1.85; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted-2); margin-bottom: 20px; }
.crumb a:hover { color: var(--brand); }
.crumb span { opacity: .5; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 32px; }
.tc { text-align: center; }
.muted { color: var(--muted); }
.strong { color: var(--ink); font-weight: 700; }
.note-sm { font-size: .82rem; color: var(--muted-2); line-height: 1.75; }
.hash { color: var(--brand); }
.only-mobile { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-panel { max-width: 620px; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .steps--flow .step::after { display: none; }
  .client-wall { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .case-top { grid-template-columns: 1fr; }
  .case-side { padding: 32px; }
}

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .nav { gap: 14px; }
  .nav-cta { display: none !important; }
  .site-header.open .nav-links {
    display: grid; position: absolute; left: 0; right: 0; top: 82px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px;
    box-shadow: var(--shadow-l); gap: 2px;
  }
  .site-header.open .nav-links a { padding: 12px 14px; font-size: 1rem; }
  .site-header.open .nav-cta { display: inline-flex !important; margin: 8px 14px 0; }
  .product { grid-template-columns: 1fr; }
  .product-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 72px 0; }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-cols { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 58px 0; }
  .section--tight { padding: 44px 0; }
  .g-2, .g-3, .g-4, .sol-grid, .sector-grid, .steps--4, .feat-list { grid-template-columns: 1fr; }
  .client-wall { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 56px 0 60px; }
  .hero-sub { font-size: 1rem; }
  .card { padding: 24px; }
  .case-body { padding: 28px 24px; }
  .cta { padding: 44px 26px; }
  .badges { flex-direction: column; }
  .badge { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-main { padding: 26px 24px; }
  .product-side { padding: 26px 24px; }
  .detail-head { padding: 20px; flex-wrap: wrap; }
  .detail-body { padding: 22px 20px 26px; }
  .head { margin-bottom: 36px; }
  .metric { padding: 24px 20px; }
  .metric-num { font-size: 1.7rem; }
  table.cmp th, table.cmp td { padding: 13px 15px; font-size: .85rem; }
  .only-mobile { display: block; }
  .form { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .faq-a { padding-left: 26px; }
}
