@charset "utf-8";

/* =========================================================
   酆泽官网 — 设计系统
   ========================================================= */

:root {
  /* 品牌色：蓝取自产品主色，橙取自 LOGO */
  --brand-50: #eef3ff;
  --brand-100: #dbe5ff;
  --brand-300: #8fa9ff;
  --brand: #2f5fff;
  --brand-600: #1f47e0;
  --brand-700: #1735ad;
  --cyan: #21c8f6;
  --accent: #f5852f;
  --accent-soft: #ffd8b5;

  --ink: #0a0f1c;
  --ink-2: #16203a;
  --body: #414c63;
  --muted: #6b768c;
  --line: #e6eaf2;
  --line-soft: #eef1f7;

  --bg: #ffffff;
  --bg-soft: #f6f8fd;
  --bg-tint: #eef3ff;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-xs: 0 1px 2px rgba(10, 15, 28, .05);
  --shadow-sm: 0 2px 8px rgba(10, 15, 28, .06);
  --shadow: 0 12px 32px -12px rgba(10, 15, 28, .16);
  --shadow-lg: 0 32px 64px -24px rgba(10, 15, 28, .22);
  --shadow-brand: 0 18px 40px -16px rgba(47, 95, 255, .55);

  --nav-h: 72px;
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 48px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --font: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

/* clip 而非 hidden：防止意外横向溢出的同时，不会额外生成滚动容器 */
html,
body { overflow-x: clip; }

@supports not (overflow-x: clip) {
  body { overflow-x: hidden; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p, figure, dl, dd, ul, ol {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .22s var(--ease);
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; border: 0; background: none; }

::selection {
  background: var(--brand);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 900px; }

.section {
  padding-block: clamp(64px, 9vw, 120px);
  position: relative;
}

.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--soft { background: var(--bg-soft); }

/* 无 hero 的页面，为固定顶栏留出空间 */
.section--top { padding-top: calc(var(--nav-h) + clamp(40px, 5vw, 72px)); }

.section--grid-bg {
  background:
    radial-gradient(60rem 30rem at 50% -10%, var(--bg-tint), transparent 70%),
    var(--bg);
}

/* ---------- Section head ---------- */
.shead {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.shead--left {
  text-align: left;
  margin-inline: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-tint);
  color: var(--brand-600);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.shead h2,
.h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -.02em;
}

.shead p {
  margin-top: 16px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding-inline: 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease),
    background-color .25s var(--ease), color .25s var(--ease),
    border-color .25s var(--ease);
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn--primary:hover { color: #fff; }

.btn--accent {
  background: linear-gradient(135deg, #ffa259 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 18px 40px -16px rgba(245, 133, 47, .6);
}

.btn--accent:hover { color: #fff; }

.btn--ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .5);
}

.btn--line {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.btn--line:hover { border-color: var(--brand-300); color: var(--brand-600); }

.btn--sm { height: 42px; padding-inline: 20px; font-size: 14px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* 文字箭头链接 */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--brand-600);
}

.arrow-link svg {
  width: 16px;
  height: 16px;
  transition: transform .25s var(--ease-out);
}

.arrow-link:hover svg { transform: translateX(4px); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease),
    border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 11, 25, .55), transparent);
  opacity: 1;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}

.site-header.is-stuck {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 24px -18px rgba(10, 15, 28, .5);
}

.site-header.is-stuck::before { opacity: 0; }

/* 浅色页头（无 hero 图的页面） */
.site-header.is-solid {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line-soft);
}

.site-header.is-solid::before { opacity: 0; }

.nav {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__logo {
  flex: none;
  display: flex;
  align-items: center;
}

.nav__logo img {
  height: 38px;
  width: auto;
  transition: filter .3s var(--ease);
  filter: brightness(0) invert(1);
}

.site-header.is-stuck .nav__logo img,
.site-header.is-solid .nav__logo img { filter: none; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding-inline: 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, .88);
  transition: background-color .22s var(--ease), color .22s var(--ease);
}

.site-header.is-stuck .nav__link,
.site-header.is-solid .nav__link { color: var(--body); }

.nav__link:hover,
.nav__item:hover > .nav__link {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.site-header.is-stuck .nav__link:hover,
.site-header.is-stuck .nav__item:hover > .nav__link,
.site-header.is-solid .nav__link:hover,
.site-header.is-solid .nav__item:hover > .nav__link {
  background: var(--bg-tint);
  color: var(--brand-600);
}

.nav__link.is-active { color: #fff; font-weight: 600; }

.site-header.is-stuck .nav__link.is-active,
.site-header.is-solid .nav__link.is-active { color: var(--brand-600); }

.nav__link .caret {
  width: 12px;
  height: 12px;
  transition: transform .25s var(--ease);
}

.nav__item { position: relative; }
.nav__item:hover .caret { transform: rotate(180deg); }

.nav__actions { display: flex; align-items: center; gap: 12px; flex: none; }

/* 下拉：产品解决方案 */
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  translate: -50% 0;
  width: min(680px, 86vw);
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .24s var(--ease), transform .24s var(--ease-out),
    visibility .24s;
}

.nav__item:hover .mega,
.nav__item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega::before {
  content: "";
  position: absolute;
  inset: -14px 0 100% 0;
}

.mega__item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  transition: background-color .2s var(--ease);
}

.mega__item:hover { background: var(--bg-soft); }

.mega__icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  color: var(--brand-600);
}

.mega__icon svg { width: 20px; height: 20px; }

.mega__t {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.mega__d {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 2px;
}

/* 汉堡按钮 */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  place-items: center;
  color: #fff;
}

.site-header.is-stuck .nav__toggle,
.site-header.is-solid .nav__toggle { color: var(--ink); }

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: background-color .2s var(--ease);
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .28s var(--ease-out);
}

.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }

/* ---------- 移动端抽屉 ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}

.drawer.is-open { visibility: visible; pointer-events: auto; }

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 24, .5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.drawer.is-open .drawer__scrim { opacity: 1; }

.drawer__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(380px, 88vw);
  background: #fff;
  padding: 20px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .4s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.drawer.is-open .drawer__panel { transform: translateX(0); }

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--nav-h) - 20px);
  margin-bottom: 12px;
}

.drawer__top img { height: 34px; width: auto; }

.drawer__close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--ink);
  background: var(--bg-soft);
}

.drawer__close svg { width: 20px; height: 20px; }

.drawer__list { display: flex; flex-direction: column; }

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.drawer__link svg { width: 18px; height: 18px; color: var(--muted); transition: transform .3s var(--ease); }

.drawer__group.is-open > .drawer__link svg { transform: rotate(180deg); }

.drawer__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease-out);
}

.drawer__group.is-open .drawer__sub { grid-template-rows: 1fr; }

.drawer__sub > div { overflow: hidden; }

.drawer__sub a {
  display: block;
  padding: 12px 4px 12px 16px;
  font-size: 15px;
  color: var(--muted);
  border-left: 2px solid var(--line);
  margin-left: 4px;
}

.drawer__sub a:hover { color: var(--brand-600); border-left-color: var(--brand); }

.drawer__cta { margin-top: 28px; }
.drawer__cta .btn { width: 100%; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: flex;
  align-items: center;
  padding-block: calc(var(--nav-h) + 72px) 96px;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.hero--compact { min-height: min(62vh, 560px); padding-block: calc(var(--nav-h) + 56px) 72px; }

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 12, 28, .94) 0%, rgba(7, 12, 28, .78) 42%, rgba(7, 12, 28, .32) 100%),
    linear-gradient(to top, rgba(7, 12, 28, .85), transparent 55%);
}

/* 渐变型 hero（产品页） */
.hero--gradient {
  background:
    radial-gradient(48rem 30rem at 12% 10%, rgba(47, 95, 255, .55), transparent 60%),
    radial-gradient(40rem 28rem at 88% 85%, rgba(33, 200, 246, .32), transparent 62%),
    radial-gradient(34rem 24rem at 78% 8%, rgba(245, 133, 47, .22), transparent 60%),
    linear-gradient(140deg, #0a1030 0%, #0d1a4a 48%, #071026 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero__inner--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }

.hero__copy { max-width: 720px; color: rgba(255, 255, 255, .78); }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px;
  margin-bottom: 26px;
}

.hero__badge b {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffa259, var(--accent));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.hero__badge span { padding-right: 10px; color: rgba(255, 255, 255, .8); }

.hero h1 {
  color: #fff;
  font-size: clamp(32px, 5.2vw, 62px);
  line-height: 1.16;
  letter-spacing: -.03em;
  margin-bottom: 22px;
}

.hero h1 .grad {
  background: linear-gradient(100deg, #8fb4ff 0%, #4ddcff 50%, #ffb27a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.85;
  color: rgba(255, 255, 255, .72);
  max-width: 620px;
  margin-bottom: 36px;
}

.hero .btn-row { margin-bottom: 44px; }

/* hero 数据条 */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  max-width: 680px;
}

.hero__stat b {
  display: block;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.hero__stat b i {
  font-style: normal;
  background: linear-gradient(120deg, #7fa8ff, #4ddcff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

/* hero 右侧插画 */
.hero__art {
  position: relative;
  display: grid;
  place-items: center;
}

.hero__art img {
  width: min(460px, 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(47, 95, 255, .15);
  animation: float 7s ease-in-out infinite;
}

.hero__art::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 95, 255, .5), transparent 65%);
  filter: blur(40px);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* 面包屑 */
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 20px;
}

.crumbs a:hover { color: #fff; }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }

/* =========================================================
   Logo 滚动条
   ========================================================= */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

/* 两组等宽内容并排，位移 50% 即为一组宽度，接缝无跳动 */
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee__group {
  display: flex;
  gap: 56px;
  padding-right: 56px;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__item {
  font-size: 17px;
  font-weight: 600;
  color: #9aa5ba;
  white-space: nowrap;
  letter-spacing: .02em;
  transition: color .25s var(--ease);
}

.marquee__item:hover { color: var(--brand-600); }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =========================================================
   卡片 / 网格
   ========================================================= */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 32px);
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease),
    border-color .4s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(28rem 16rem at var(--mx, 50%) 0%, rgba(47, 95, 255, .07), transparent 70%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--brand-100);
}

.card:hover::after { opacity: 1; }

.card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  margin-bottom: 20px;
  background: linear-gradient(140deg, var(--brand-50), var(--brand-100));
  color: var(--brand-600);
}

.card__icon svg { width: 26px; height: 26px; }

.card__icon--accent {
  background: linear-gradient(140deg, #fff1e5, var(--accent-soft));
  color: #d96c19;
}

/* 使用品牌图标图片时去掉底色 */
.card__icon--img {
  width: 64px;
  height: 64px;
  background: none;
  border-radius: 0;
}

.card__icon--img img { width: 100%; height: 100%; object-fit: contain; }

/* 长段落 */
.prose {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 2;
  color: var(--body);
}

.prose strong { color: var(--brand-600); font-weight: 600; }

.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

/* 产品卡（带图） */
.pcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease),
    border-color .4s var(--ease);
}

.pcard:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-100);
}

.pcard__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: linear-gradient(140deg, #eaf1ff, #dce8ff);
}

.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}

.pcard:hover .pcard__media img { transform: scale(1.06); }

.pcard__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-600);
}

.pcard__body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pcard__body h3 { font-size: 20px; margin-bottom: 10px; }

.pcard__body p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
  flex: 1;
}

.pcard__body .arrow-link { margin-top: 20px; }

/* =========================================================
   交替特性版块
   ========================================================= */
.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.feature + .feature { margin-top: clamp(56px, 7vw, 104px); }

.feature--flip .feature__media { order: 2; }

.feature__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #0b1230;
  border: 1px solid rgba(47, 95, 255, .18);
  box-shadow: var(--shadow-lg);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease);
}

.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}

.feature:hover .feature__media { transform: translateY(-4px); }
.feature:hover .feature__media img { transform: scale(1.04); }

.feature__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--brand), var(--brand-600));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 20px;
  box-shadow: var(--shadow-brand);
}

.feature__body h3 {
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.feature__body p {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--muted);
  line-height: 1.9;
}

.taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--body);
}

/* 勾选清单 */
.checks { margin-top: 24px; display: grid; gap: 12px; }

.checks li {
  display: flex;
  gap: 12px;
  font-size: 15.5px;
  color: var(--body);
  line-height: 1.7;
}

.checks svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  color: var(--brand);
}

/* =========================================================
   数据统计
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat {
  background: #fff;
  padding: clamp(24px, 3vw, 36px);
  text-align: center;
}

.stat b {
  display: block;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.15;
}

.stat b em {
  font-style: normal;
  color: var(--brand);
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* =========================================================
   案例
   ========================================================= */
.cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.case {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  isolation: isolate;
  background: var(--ink-2);
}

.case--wide { grid-column: span 2; }
.case--full { grid-column: 1 / -1; min-height: 400px; }

.case img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .8s var(--ease-out);
}

.case::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(6, 10, 22, .9) 0%, rgba(6, 10, 22, .35) 45%, rgba(6, 10, 22, .06) 100%);
  transition: background .4s var(--ease);
}

.case:hover img { transform: scale(1.07); }

.case:hover::after {
  background: linear-gradient(to top, rgba(6, 10, 22, .94) 0%, rgba(11, 26, 70, .55) 50%, rgba(6, 10, 22, .18) 100%);
}

.case__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(22px, 2.6vw, 32px);
  color: #fff;
}

.case__body h3 {
  color: #fff;
  font-size: clamp(20px, 2.2vw, 26px);
  margin-bottom: 8px;
}

.case__body p {
  font-size: 14px;
  color: rgba(255, 255, 255, .72);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.case__no {
  position: absolute;
  top: 18px;
  left: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .9);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.case__en {
  display: block;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 4px;
}

.case__body h3 em {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: #ffb27a;
  margin-left: 10px;
  vertical-align: middle;
}

.case__body p { margin-top: 10px; }

.case__body p span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 12.5px;
}

/* =========================================================
   客户 LOGO 墙
   ========================================================= */
.logowall {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: clamp(20px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
}

.logowall img { width: 100%; margin-inline: auto; }

/* =========================================================
   联系 / 表单
   ========================================================= */
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.offices {
  display: grid;
  gap: 10px;
}

.office {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: #fff;
  transition: all .3s var(--ease);
}

.office:hover { border-color: var(--brand-300); }

.office.is-active {
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  border-color: transparent;
  box-shadow: var(--shadow-brand);
}

.office__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.office.is-active .office__name { color: #fff; }

.office__name::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.office.is-active .office__name::before { background: var(--accent); }

.office__addr {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

.office.is-active .office__addr { color: rgba(255, 255, 255, .85); }

.office-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg-soft);
  min-height: 320px;
}

.office-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.office-map img.is-active { display: block; animation: fadeUp .5s var(--ease-out); }

/* 表单 */
.form-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow);
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.field label i {
  font-style: normal;
  color: var(--accent);
  margin-left: 2px;
}

.field input,
.field textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  font-size: 15px;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease),
    background-color .22s var(--ease);
}

.field textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.7; }

.field input::placeholder,
.field textarea::placeholder { color: #a3adbf; }

.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(47, 95, 255, .12);
}

.field.has-error input,
.field.has-error textarea { border-color: #e0483a; background: #fff6f5; }

.field .err {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: #d13a2c;
}

.field.has-error .err { display: block; }

.form-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.form-msg {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
}

.form-msg.is-ok { display: block; background: #e9f9f0; color: #14794a; }
.form-msg.is-bad { display: block; background: #fdecea; color: #c0392b; }

/* 联系信息侧栏 */
.contact-aside { display: grid; gap: 14px; }

.cinfo {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line-soft);
}

.cinfo__ico {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--brand-600);
}

.cinfo__ico svg { width: 20px; height: 20px; }

.cinfo__txt { display: block; }
.cinfo__txt b { display: block; font-size: 14px; color: var(--ink); }
.cinfo__txt span { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* =========================================================
   招聘
   ========================================================= */
.jobs { display: grid; gap: 16px; }

.job {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.job.is-open { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }

.job__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px clamp(20px, 2.4vw, 28px);
  text-align: left;
}

.job__h { margin: 0; }

.job__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.job__loc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-tint);
  color: var(--brand-600);
  font-size: 13px;
  font-weight: 600;
  flex: none;
}

.job__loc svg { width: 13px; height: 13px; }

.job__plus {
  margin-left: auto;
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink);
  transition: transform .35s var(--ease-out), background-color .3s var(--ease), color .3s var(--ease);
}

.job__plus svg { width: 16px; height: 16px; }

.job.is-open .job__plus {
  transform: rotate(45deg);
  background: var(--brand);
  color: #fff;
}

.job__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease-out);
}

.job.is-open .job__panel { grid-template-rows: 1fr; }

.job__panel > div { overflow: hidden; }

.job__inner {
  padding: 0 clamp(20px, 2.4vw, 28px) 26px;
  border-top: 1px solid var(--line-soft);
  margin-top: 0;
  padding-top: 22px;
}

.job__inner h4 {
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--ink);
}

.job__inner h4 + ol { margin-bottom: 20px; }

.job__inner ol {
  display: grid;
  gap: 8px;
  counter-reset: j;
}

.job__inner ol li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
  counter-increment: j;
}

.job__inner ol li::before {
  content: counter(j);
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--brand-600);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* =========================================================
   CTA 区
   ========================================================= */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 72px);
  background:
    radial-gradient(36rem 22rem at 10% 10%, rgba(47, 95, 255, .6), transparent 62%),
    radial-gradient(30rem 20rem at 92% 90%, rgba(245, 133, 47, .35), transparent 62%),
    linear-gradient(135deg, #0c1436 0%, #142a6e 55%, #091026 100%);
  color: rgba(255, 255, 255, .78);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
  pointer-events: none;
}

.cta > * { position: relative; }

.cta h2 {
  color: #fff;
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: -.02em;
  margin-bottom: 14px;
}

.cta p { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.85; }

.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: #080d19;
  color: #97a1b5;
  padding-top: clamp(56px, 7vw, 88px);
  font-size: 14.5px;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(140px, 1fr)) minmax(160px, .9fr);
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(40px, 5vw, 60px);
}

.footer__brand img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .95;
  margin-bottom: 18px;
}

.footer__brand p {
  font-size: 14px;
  line-height: 1.9;
  color: #7b8599;
  max-width: 300px;
}

.footer__col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
  font-weight: 600;
}

.footer__col ul { display: grid; gap: 12px; }

.footer__col a { color: #97a1b5; font-size: 14px; }
.footer__col a:hover { color: #fff; }

.footer__qr { text-align: center; }

.footer__qr img {
  width: 122px;
  height: 122px;
  object-fit: cover;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  margin-inline: auto;
  margin-bottom: 10px;
}

.footer__qr span { font-size: 13px; color: #7b8599; }

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-block: 24px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #6c7689;
}

.footer__bar a { color: #6c7689; display: inline-flex; align-items: center; gap: 6px; }
.footer__bar a:hover { color: #b9c2d3; }
.footer__bar img { height: 15px; width: auto; }

/* 回到顶部 */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .35s var(--ease-out);
}

.to-top.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.to-top svg { width: 20px; height: 20px; }

/* =========================================================
   滚动进场动画
   ========================================================= */
/* 仅在脚本可用时才隐藏待进场元素，脚本失效时内容照常可见 */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1080px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__qr { text-align: left; }
  .footer__qr img { margin-inline: 0; }
}

@media (max-width: 960px) {
  :root { --nav-h: 64px; }

  .nav__menu, .nav__actions .btn { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__toggle { display: grid; }

  .hero__inner--split { grid-template-columns: minmax(0, 1fr); }
  .hero__art { order: -1; }
  .hero__art img { width: min(300px, 70%); }

  .feature--flip .feature__media { order: 0; }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case--wide { grid-column: span 2; }
  .cta__actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero { min-height: auto; padding-block: calc(var(--nav-h) + 56px) 72px; }
  .hero__stats { gap: 20px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .job__title { font-size: 16px; }
  .job__loc { font-size: 12px; padding-inline: 10px; }
  .marquee__group { gap: 32px; padding-right: 32px; }
  .cases { grid-template-columns: minmax(0, 1fr); }
  .case--wide { grid-column: span 1; }
  .case--full { min-height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* 打印 */
@media print {
  .site-header, .drawer, .to-top, .cta, .hero__media { display: none !important; }
  body { color: #000; }
}
