/* =====================================================================
   PetLink 官网 · 设计系统 v3（betteryeah 风格 · 企业级浅色）
   品牌：PetLink 蓝 #2563EB + 暖橙 #FF7A1A
   ===================================================================== */

/* 阿里巴巴普惠体 2.0 —— 继承 betteryeah.com 字体方案 */
@font-face {
  font-family: 'Alibaba PuHuiTi 2.0';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('https://puhuiti.oss-cn-hangzhou.aliyuncs.com/AlibabaPuHuiTi-2/AlibabaPuHuiTi-2-55-Regular/AlibabaPuHuiTi-2-55-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Alibaba PuHuiTi 2.0';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('https://puhuiti.oss-cn-hangzhou.aliyuncs.com/AlibabaPuHuiTi-2/AlibabaPuHuiTi-2-65-Medium/AlibabaPuHuiTi-2-65-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Alibaba PuHuiTi 2.0';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('https://puhuiti.oss-cn-hangzhou.aliyuncs.com/AlibabaPuHuiTi-2/AlibabaPuHuiTi-2-75-SemiBold/AlibabaPuHuiTi-2-75-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Alibaba PuHuiTi 2.0';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('https://puhuiti.oss-cn-hangzhou.aliyuncs.com/AlibabaPuHuiTi-2/AlibabaPuHuiTi-2-85-Bold/AlibabaPuHuiTi-2-85-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Alibaba PuHuiTi 2.0';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('https://puhuiti.oss-cn-hangzhou.aliyuncs.com/AlibabaPuHuiTi-2/AlibabaPuHuiTi-2-95-ExtraBold/AlibabaPuHuiTi-2-95-ExtraBold.woff2') format('woff2');
}

/* ============================ Tokens ============================ */
:root {
  --brand: #2563EB;
  --brand-600: #1D4ED8;
  --brand-700: #1E40AF;
  --brand-050: #EFF4FF;
  --accent: #FF7A1A;
  --accent-600: #F2640A;
  --ink: #0F172A;
  --body: #475569;
  --muted: #64748B;
  --muted-2: #94A3B8;
  --line: #E7ECF3;
  --bg: #FFFFFF;
  --bg-soft: #F7F9FC;
  --bg-tint: #F0F5FF;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 10px 28px rgba(15, 23, 42, .08);
  --shadow-lg: 0 22px 50px rgba(15, 23, 42, .14);
  --grad-brand: linear-gradient(135deg, #2563EB 0%, #4F8BFF 55%, #7AA8FF 100%);
  --grad-accent: linear-gradient(135deg, #FF8A2A 0%, #FF6A00 100%);
  --grad-hero: radial-gradient(1100px 560px at 82% -12%, rgba(37, 99, 235, .14), transparent 60%),
               radial-gradient(820px 480px at -5% 8%, rgba(255, 122, 26, .10), transparent 55%);
  --grad-cta: linear-gradient(120deg, #1E3A8A 0%, #2563EB 52%, #3B82F6 100%);
  --font-display: 'Alibaba PuHuiTi 2.0', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-sans: 'Alibaba PuHuiTi 2.0', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container: 1360px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ============================ Reset ============================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, .4); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ============================ Layout ============================ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 40px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }

/* ============================ Buttons ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 13px 22px; border: 1px solid transparent; border-radius: 10px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 22px rgba(37, 99, 235, .28); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(37, 99, 235, .36); background: var(--brand-600); }
.btn--orange { background: var(--grad-accent); color: #fff; box-shadow: 0 10px 22px rgba(255, 106, 0, .3); }
.btn--orange:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(255, 106, 0, .4); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--brand); border-color: transparent; }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 16px; font-size: 13.5px; }
.btn-code { background: #0F172A; color: #fff; }
.btn-code:hover { transform: translateY(-2px); }

/* ============================ Header ============================ */
.header {
  position: sticky; top: 0; z-index: 60;
  height: 80px; display: flex; align-items: center;
  background: rgba(255, 255, 255, .80);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.header.is-scrolled { background: rgba(255, 255, 255, .96); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 40px; height: 100%; width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { height: 34px; width: auto; max-width: 180px; object-fit: contain; }
.nav__links { display: flex; align-items: center; gap: 8px; margin-left: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 12px 22px; border-radius: 10px;
  font-weight: 500; font-size: 16px; color: var(--ink);
  transition: color .2s, background .2s;
}
.nav__link:hover, .nav__link.is-active { color: var(--brand); background: var(--bg-soft); }
.nav__item.has-sub > .nav__link svg { width: 16px; height: 16px; transition: transform .25s; }
.nav__item.has-sub:hover > .nav__link svg { transform: rotate(180deg); }

/* mega dropdown */
.nav__sub {
  position: absolute; top: calc(100% + 12px); left: 0;
  min-width: 280px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 10px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav__item.has-sub:hover .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
  padding: 11px 13px; border-radius: 11px; color: var(--ink);
  font-weight: 500; font-size: 14.5px; transition: background .18s, color .18s;
}
.nav__sub a:hover { background: var(--bg-soft); color: var(--brand); }
.nav__cta { margin-left: auto; flex: 0 0 auto; }

/* mobile toggle + drawer */
.nav__toggle { display: none; width: 42px; height: 42px; border: none; background: transparent; position: relative; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ''; position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s;
}
.nav__toggle span { top: 20px; }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); opacity: 0; visibility: hidden; transition: .3s; z-index: 70; }
.overlay.is-show { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 300px; max-width: 84vw;
  background: #fff; z-index: 80; padding: 72px 22px 22px; display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: var(--shadow-lg);
}
.drawer.is-show { transform: translateX(0); }
.drawer a { padding: 13px 14px; border-radius: 10px; font-weight: 600; color: var(--ink); }
.drawer a:hover { background: var(--bg-soft); color: var(--brand); }
.drawer .btn { margin-top: 14px; }
.drawer__close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border: none; background: var(--bg-soft); border-radius: 50%; font-size: 22px; line-height: 1; color: var(--ink); }

/* ============================ Hero ============================ */
.hero { position: relative; padding: 100px 0 40px; overflow: hidden; text-align: center; }
.hero__bg { position: absolute; inset: 0; background: var(--grad-hero); z-index: -1; }
.hero .container { display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-050); padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero__title { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.12; font-weight: 800; color: var(--ink); max-width: 900px; }
.hero__title .block { display: block; }
.hero__title .accent { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__title .orange { color: var(--accent); }
.text-reveal {
  position: relative;
  display: inline-block;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  clip-path: inset(0 100% 0 0);
  animation: revealLeft 1.1s var(--ease) forwards;
  animation-delay: .35s;
}
@keyframes revealLeft { to { clip-path: inset(0 0 0 0); } }
.hero__sub { font-size: 17px; color: var(--body); margin-top: 20px; max-width: 640px; text-align: center; }
.hero__actions { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero__actions .btn { padding: 15px 26px; font-size: 16px; border-radius: 10px; }
.hero__badges { margin-top: 28px; display: flex; gap: 20px; color: var(--muted); font-size: 13.5px; flex-wrap: wrap; justify-content: center; }
.hero__badges span { display: inline-flex; align-items: center; gap: 7px; }
.hero__badges svg { width: 17px; height: 17px; color: var(--brand); }

/* eco card (now used in products page only) */
.eco {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow); padding: 26px; position: relative;
}
.eco__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.eco__stack { display: flex; flex-direction: column; gap: 10px; }
.eco__layer { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.eco__layer.is-ai { background: linear-gradient(180deg, #fff, #F4F8FF); border-color: #D8E6FF; box-shadow: 0 12px 30px rgba(37, 99, 235, .10); }
.eco__icon { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-050); color: var(--brand); display: grid; place-items: center; }
.eco__layer.is-ai .eco__icon { background: var(--brand); color: #fff; }
.eco__icon svg { width: 22px; height: 22px; }
.eco__name { font-weight: 700; color: var(--ink); font-size: 15.5px; }
.eco__desc { font-size: 13px; color: var(--muted); margin-top: 3px; }
.eco__agents { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.eco__agents span { font-size: 11.5px; padding: 4px 9px; background: rgba(37, 99, 235, .1); color: var(--brand-700); border-radius: 999px; font-weight: 600; }
.eco__arrow { display: flex; justify-content: center; color: var(--brand); opacity: .45; }
.eco__arrow svg { width: 20px; height: 20px; }
.eco__flow { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.eco__flow b { color: var(--brand); }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }

/* OS wheel visual (solutions page hero) */
.os-wheel {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow); padding: 22px; position: relative;
}
.os-wheel svg { width: 100%; height: auto; }
.os-wheel__title {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.os-wheel__title::before,
.os-wheel__title::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  vertical-align: middle;
  margin: 0 10px;
}
.subhero__stats { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.subhero__stat {
  display: flex; align-items: center; gap: 12px;
  background: var(--brand-050); border: 1px solid #DBEAFE;
  border-radius: 14px; padding: 14px 18px;
  min-width: 140px; flex: 1;
}
.subhero__stat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: #fff; color: var(--brand);
  display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(37,99,235,.10);
}
.subhero__stat-icon svg { width: 22px; height: 22px; }
.subhero__stat-label { font-size: 13px; color: var(--body); }
.subhero__stat-value { font-size: 22px; font-weight: 800; color: var(--brand); line-height: 1.1; margin-top: 2px; }
.subhero__stat-value small { font-size: .6em; font-weight: 700; }
.subhero__stat-desc { font-size: 12px; color: var(--muted-2); margin-top: 2px; line-height: 1.35; }

/* hero visual moved to showcase section */
.hero__visual { display: none; }

/* ============================ Pain section hero image ============================ */
.pain-hero {
  max-width: min(1080px, calc(100% - 80px));
  margin: 0 auto 44px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: #fff;
}
.pain-hero img { width: 100%; height: auto; display: block; }

/* ============================ Proof / stats (betteryeah style) ============================ */
.proof { padding: 0 0 88px; }
.proof__card {
  width: calc(100% - 80px);
  max-width: 1360px;
  margin-inline: auto;
  background: #F7F7F7;
  border-radius: 30px;
  padding: 48px 60px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
  flex-wrap: wrap;
}
.proof__cell { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.proof__num {
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1;
  font-style: italic;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 4px;
  position: relative;
}
.proof__num .u { font-size: 20px; }
.proof__num .up { color: var(--accent); font-size: 28px; }
.proof__underline {
  display: block;
  width: 100%;
  height: 10px;
  margin-top: -4px;
}
.proof__underline svg { width: 100%; height: 100%; display: block; }
.proof__label { color: var(--muted); font-size: 15px; line-height: 1.4; }

/* ============================ Section heads ============================ */
.section-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.section-title .hl { color: var(--brand); }
.section-lead { color: var(--body); font-size: 17px; max-width: 740px; margin-top: 14px; }
.section-title__en { display: block; font-size: .52em; font-weight: 600; color: var(--muted-2); letter-spacing: .01em; margin-top: 8px; }

/* ============================ Pains ============================ */
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.pain:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.pain__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-050); color: var(--brand); margin-bottom: 14px; }
.pain__icon svg { width: 23px; height: 23px; }
.pain__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pain__desc { color: var(--body); font-size: 14.5px; line-height: 1.6; }

/* ============================ Eco band (3 layers) ============================ */
.eco-band { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 24px; margin-top: 44px; }
.eco-band .layer-card { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; height: 100%; }
.layer-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.layer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.layer-card.is-ai { background: #fff; border-color: var(--line); box-shadow: none; }
.layer-card.is-ai:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.layer-card__tag { font-size: 13px; font-weight: 700; color: var(--brand); }
.layer-card__name { font-size: 19px; font-weight: 700; margin: 8px 0; max-width: 280px; white-space: nowrap; }
.layer-card__desc { color: var(--body); font-size: 14.5px; line-height: 1.6; max-width: 320px; }
.layer-card__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; justify-content: center; }
.layer-card__chips span { font-size: 12.5px; padding: 5px 11px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.layer-connector { color: var(--brand); opacity: .5; }
.layer-connector svg { width: 26px; height: 26px; }
@media (max-width: 640px) { .layer-card__name { white-space: normal; } }

/* ============================ Prods ============================ */
.prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.prod { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.prod:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.prod__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; margin-bottom: 16px; box-shadow: 0 10px 20px rgba(37, 99, 235, .25); }
.prod__icon svg { width: 26px; height: 26px; }
.prod__name { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.prod__desc { color: var(--body); font-size: 14.5px; line-height: 1.6; }
.prod__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--brand); font-weight: 600; font-size: 14.5px; }
.prod__link svg { width: 16px; transition: transform .2s; }
.prod:hover .prod__link svg { transform: translateX(4px); }

/* ============================ Cases ============================ */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.case__photo { position: relative; height: 184px; background: linear-gradient(135deg, var(--brand-050), #EAF1FF); display: grid; place-items: center; color: var(--brand); }
.case__photo svg { width: 56px; height: 56px; opacity: .85; }
.case__photo .tag { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.case__body { padding: 22px; }
.case__store { font-size: 17px; font-weight: 700; color: var(--ink); }
.case__meta { color: var(--muted); font-size: 13.5px; margin: 6px 0 16px; }
.case__result { display: flex; gap: 28px; }
.case__result div b { display: block; font-size: 26px; font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case__result div span { font-size: 13px; color: var(--muted); }
.cases__more { margin-top: 32px; display: flex; justify-content: center; }

/* ============================ CTA band ============================ */
.cta-band { background: var(--grad-cta); border-radius: 26px; padding: 56px 40px; text-align: center; color: #fff; position: relative; overflow: hidden; box-shadow: 0 30px 60px rgba(30, 58, 138, .35); }
.cta-band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 10%, rgba(255, 255, 255, .12), transparent 60%); pointer-events: none; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta-band p { color: rgba(255, 255, 255, .85); margin-top: 10px; font-size: 16px; }
.cta-band .hero__actions { justify-content: center; margin-top: 26px; }
.cta-band .btn--light { background: #fff; color: var(--brand); }
.cta-band .btn--orange { background: var(--grad-accent); color: #fff; }

/* ============================ CTA card (contained, not full-bleed) ============================ */
.cta-card {
  border-radius: 24px;
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .12);
}
.cta-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% 10%, rgba(255, 255, 255, .14), transparent 60%);
  pointer-events: none;
}
.cta-card--orange {
  background: linear-gradient(120deg, #FF8A2A 0%, #FF6A00 60%, #FF5500 100%);
}
.cta-card__content {
  display: flex; align-items: center; gap: 20px; position: relative; z-index: 1; flex: 1 1 360px;
}
.cta-card__icon {
  width: 60px; height: 60px; border-radius: 50%; flex: 0 0 auto;
  background: rgba(255, 255, 255, .2); backdrop-filter: blur(4px);
  display: grid; place-items: center; color: #fff;
}
.cta-card__icon svg { width: 28px; height: 28px; }
.cta-card h2 { color: #fff; font-size: clamp(22px, 2.8vw, 30px); font-weight: 800; line-height: 1.25; }
.cta-card p { color: rgba(255, 255, 255, .9); margin-top: 6px; font-size: 15.5px; }
.cta-card__actions { position: relative; z-index: 1; flex: 0 0 auto; }
.cta-card .btn--light {
  background: #fff; color: var(--accent-600); border-color: transparent;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}
.cta-card .btn--light:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .18); }

@media (max-width: 1024px) {
  .cta-card { text-align: center; justify-content: center; }
  .cta-card__content { justify-content: center; }
}
@media (max-width: 640px) {
  .cta-card { padding: 36px 24px; }
  .cta-card__icon { display: none; }
}

/* ============================ Marquee (trust wall) ============================ */
.marquee { padding: 40px 0 8px; }
.marquee__title { text-align: center; color: var(--muted-2); font-size: 13.5px; font-weight: 600; letter-spacing: .04em; margin-bottom: 22px; }
.marquee__viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 26s linear infinite; }
.marquee__track span { flex: 0 0 auto; padding: 12px 26px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; color: var(--ink); font-size: 15px; white-space: nowrap; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================ Tabs ============================ */
.tabs { margin-top: 38px; }
.tablist { display: inline-flex; gap: 6px; padding: 6px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 30px; flex-wrap: wrap; }
.tab { border: none; background: transparent; padding: 11px 22px; border-radius: 999px; font-weight: 600; color: var(--muted); font-size: 15px; transition: .2s; }
.tab.is-active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.tabpanel { display: none; }
.tabpanel.is-active { display: block; animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================ Subhero (inner pages) ============================ */
.subhero { padding: 64px 0 40px; background: var(--grad-hero); }
.subhero--plain { background: var(--bg); }
.subhero__crumbs { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.subhero__crumbs svg { width: 16px; height: 16px; }
.subhero__title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: var(--ink); }
.subhero__lead { color: var(--body); font-size: 17px; max-width: 720px; margin-top: 14px; }
/* subhero split layout (products page) */
.subhero--split { padding: 72px 0 56px; }
.subhero--split .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.subhero--split .subhero__lead { max-width: none; }
.subhero--split .eco { margin: 0; }

/* 数字宠域共生系统 · 解决方案头部 */
.subhero--ecosystem .container { align-items: stretch; }
.subhero--ecosystem .subhero__title { font-size: clamp(32px, 4.4vw, 50px); }
.subhero--ecosystem .subhero__lead { font-size: 18px; color: var(--muted); margin-top: 10px; }
.eco-tags { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.eco-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink);
}
.eco-tag svg { width: 16px; height: 16px; color: var(--brand); }
.value-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  margin-top: 28px;
}
.value-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 16px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.value-card__icon {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; color: #fff;
}
.value-card__icon svg { width: 22px; height: 22px; }
.value-card__icon--rose { background: linear-gradient(135deg, #FB7185, #F43F5E); }
.value-card__icon--blue { background: linear-gradient(135deg, #60A5FA, #3B82F6); }
.value-card__icon--purple { background: linear-gradient(135deg, #A78BFA, #8B5CF6); }
.value-card__icon--amber { background: linear-gradient(135deg, #FBBF24, #F59E0B); }
.value-card__title { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.value-card__desc { font-size: 13px; color: var(--muted); margin-top: 2px; }
.capability-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.capability-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: transform .3s var(--ease), box-shadow .3s; }
.capability-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.capability-card__title { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.35; margin: 0 0 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.capability-card__tag { display: inline-flex; font-size: 11.5px; font-weight: 700; color: var(--brand); background: var(--brand-050); border: 1px solid #DBEAFE; padding: 3px 9px; border-radius: 6px; }
.capability-card__desc { font-size: 14px; color: var(--body); line-height: 1.6; margin: 0; }
.feature-cards {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 22px; box-shadow: var(--shadow);
}
.feature-card {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: 16px;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.feature-card:hover { transform: translateX(4px); box-shadow: 0 8px 20px rgba(15,23,42,.08); }
.feature-card__icon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
}
.feature-card__icon svg { width: 23px; height: 23px; }
.feature-card__title { font-size: 16px; font-weight: 700; color: var(--ink); }
.feature-card__desc { font-size: 13.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.feature-card--purple { background: #F5F3FF; border-color: #EDE9FE; }
.feature-card--purple .feature-card__icon { background: #8B5CF6; color: #fff; }
.feature-card--blue { background: #EFF4FF; border-color: #DBEAFE; }
.feature-card--blue .feature-card__icon { background: #3B82F6; color: #fff; }
.feature-card--rose { background: #FFF1F2; border-color: #FFE4E6; }
.feature-card--rose .feature-card__icon { background: #F43F5E; color: #fff; }
.feature-card--violet { background: #FAF5FF; border-color: #F3E8FF; }
.feature-card--violet .feature-card__icon { background: #A855F7; color: #fff; }
.feature-card--amber { background: #FFFBEB; border-color: #FEF3C7; }
.feature-card--amber .feature-card__icon { background: #F59E0B; color: #fff; }

/* ============================ Steps ============================ */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 40px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__n { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16px; margin-bottom: 14px; }
.step__name { font-weight: 700; color: var(--ink); font-size: 17px; margin-bottom: 6px; }
.step__desc { color: var(--body); font-size: 14px; line-height: 1.6; }

.system-diagram {
  margin: 44px auto 20px;
  max-width: min(1080px, calc(100% - 80px));
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: #fff;
}
.system-diagram img { width: 100%; height: auto; display: block; }

/* ============================ Scenes ============================ */
.scene { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 38px; }
.scene__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; transition: transform .3s var(--ease), box-shadow .3s; }
.scene__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scene__head { display: flex; gap: 16px; align-items: center; }
.scene__ico { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; background: var(--brand-050); color: var(--brand); display: grid; place-items: center; }
.scene__ico svg { width: 25px; height: 25px; }
.scene__title { font-size: 18px; font-weight: 700; color: var(--ink); }
.scene__subtitle { font-size: 13px; color: var(--muted); margin-top: 3px; }
.scene__bullets { display: flex; flex-direction: column; gap: 10px; }
.scene__bullets li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--body); list-style: none; }
.scene__bullets svg { width: 18px; height: 18px; color: var(--brand); flex: 0 0 auto; }
.scene__solution { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--accent-600); font-weight: 600; }
.scene__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.scene__tags span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); background: var(--bg-soft); padding: 5px 10px; border-radius: 999px; }
.scene__tags svg { width: 14px; height: 14px; }

/* ============================ Pricing ============================ */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.plan.is-featured { border-color: var(--brand); box-shadow: 0 18px 40px rgba(37, 99, 235, .18); }
.plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad-brand); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan__name { font-size: 17px; font-weight: 700; color: var(--ink); }
.plan__who { font-size: 13px; color: var(--muted); margin-top: 4px; }
.plan__price { font-size: 26px; font-weight: 800; color: var(--ink); margin: 14px 0; display: flex; align-items: baseline; gap: 4px; }
.plan__price .per { font-size: 13px; font-weight: 500; color: var(--muted); }
.plan__divider { height: 1px; background: var(--line); margin: 4px 0 14px; }
.plan__feat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; flex: 1; }
.plan__feat li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--body); }
.plan__feat svg { width: 17px; height: 17px; color: var(--brand); flex: 0 0 auto; margin-top: 2px; }
.plan .btn { width: 100%; }

/* comparison table */
.cmp { margin-top: 40px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cmp table { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: center; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: var(--ink); font-weight: 600; }
.cmp thead th { background: var(--bg-soft); color: var(--ink); font-weight: 700; }
.cmp .col-feat { background: var(--brand-050); }
.cmp .yes { color: var(--brand); font-weight: 800; }
.cmp .no { color: var(--muted-2); }


/* ============================ Pricing v2 (BetterYeah style) ============================ */
.pricing-section { padding: 56px 0 96px; }
.pricing-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.pricing-card__table-wrap { overflow-x: auto; }
.pricing-table { width: 100%; min-width: 920px; border-collapse: separate; border-spacing: 0; }
.pricing-table th,
.pricing-table td { padding: 17px 20px; text-align: center; font-size: 14.5px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pricing-table thead th { background: #fff; }
.pricing-table__sticky { position: sticky; left: 0; min-width: 220px; text-align: left; background: #fff; z-index: 2; box-shadow: 4px 0 12px rgba(15, 23, 42, .04); font-weight: 600; color: var(--ink); }
.pricing-table thead .pricing-table__sticky { background: var(--bg-soft); }
.pricing-table__intro { padding: 28px 24px; vertical-align: top; background: var(--bg-soft); }
.pricing-table__intro .eyebrow { margin-bottom: 10px; }
.pricing-table__intro .section-title { font-size: 26px; margin-bottom: 18px; }
.pricing-table__hint { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.pricing-table__plan { min-width: 170px; padding: 26px 16px; }
.pricing-table__plan.is-featured { background: linear-gradient(180deg, #EFF4FF 0%, #fff 100%); }
.plan-head { display: flex; flex-direction: column; align-items: center; gap: 5px; position: relative; }
.plan-head__badge { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: var(--grad-brand); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.plan-head__name { font-size: 17px; font-weight: 700; color: var(--ink); }
.plan-head__who { font-size: 12.5px; color: var(--muted); }
.plan-head__price { font-size: 22px; font-weight: 800; color: var(--ink); margin: 8px 0 6px; display: flex; align-items: baseline; justify-content: center; gap: 4px; flex-wrap: wrap; }
.plan-head__price span { font-size: 13px; font-weight: 500; color: var(--muted); }
.pricing-table tbody tr:nth-child(even) td { background: #FAFBFC; }
.pricing-table tbody tr:nth-child(even) .pricing-table__sticky { background: #F7F9FC; }
.pricing-table tbody tr:hover td { background: #F0F5FF; }
.pricing-table tbody tr:hover .pricing-table__sticky { background: #F0F5FF; }
.pricing-table tbody td.yes { color: var(--brand); font-weight: 800; font-size: 16px; }
.pricing-table tbody td.no { color: var(--muted-2); }
.pricing-table tbody td.partial { color: var(--accent); font-weight: 700; }
.billing-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: #fff; }
.billing-toggle__option { border: none; background: transparent; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 13.5px; color: var(--muted); transition: .2s; }
.billing-toggle__option.is-active { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.pricing-note { margin-top: 18px; font-size: 12.5px; color: var(--muted-2); text-align: center; }
/* ============================ FAQ ============================ */
.faq { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq__item.is-open { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq__q { width: 100%; text-align: left; background: none; border: none; padding: 18px 22px; font-size: 16.5px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__q::after { content: '+'; font-size: 22px; color: var(--brand); transition: transform .25s; flex: 0 0 auto; }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding: 0 22px 20px; color: var(--body); font-size: 15px; line-height: 1.7; }

/* ============================ Generic grid-3 + card ============================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { width: 48px; height: 48px; border-radius: 13px; background: var(--brand-050); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.card__icon svg { width: 24px; height: 24px; }
.card__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card__desc { color: var(--body); font-size: 14.5px; line-height: 1.6; }
.card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.card__tags span { font-size: 12px; padding: 4px 10px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

/* ============================ Cases page filters ============================ */
.filters { display: flex; flex-direction: column; gap: 18px; margin-top: 34px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.filter-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.filter-row__label { font-size: 14px; font-weight: 700; color: var(--ink); min-width: 64px; }
.chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--body); font-size: 14px; font-weight: 500; transition: .2s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-search { flex: 1; min-width: 200px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 14.5px; font-family: inherit; color: var(--ink); }
.filter-search:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.filter-reset { background: none; border: none; color: var(--muted); font-size: 14px; text-decoration: underline; }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-card__photo { position: relative; height: 168px; background: linear-gradient(135deg, var(--brand-050), #EAF1FF); display: grid; place-items: center; color: var(--brand); }
.case-card__photo svg { width: 50px; height: 50px; opacity: .85; }
.case-card__body { padding: 20px; }
.case-card__store { font-size: 16.5px; font-weight: 700; color: var(--ink); }
.case-card__meta { color: var(--muted); font-size: 13px; margin: 5px 0 12px; }
.case-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.case-card__tags span { font-size: 11.5px; padding: 4px 9px; background: var(--brand-050); color: var(--brand-700); border-radius: 999px; font-weight: 600; }
.case-card__result { display: flex; gap: 22px; }
.case-card__result b { display: block; font-size: 22px; font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-card__result span { font-size: 12px; color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.pagination button { min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); background: #fff; border-radius: 10px; font-weight: 600; color: var(--body); transition: .2s; }
.pagination button:hover, .pagination button.is-active { border-color: var(--brand); color: var(--brand); }
.pagination button:disabled { opacity: .45; cursor: not-allowed; color: var(--muted-2); border-color: var(--line); }
.pagination__prev, .pagination__next { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; }
.pagination__prev svg, .pagination__next svg { width: 16px; height: 16px; }
.cases__more { margin-top: 28px; text-align: center; }

/* ============================ About: vision / timeline / team / certs ============================ */
.vision { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
.vision__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.vision__item h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.vision__item p { color: var(--body); font-size: 14.5px; line-height: 1.6; }
.timeline { margin-top: 40px; border-left: 2px solid var(--line); padding-left: 28px; display: flex; flex-direction: column; gap: 28px; }
.tl-item { position: relative; }
.tl-item::before { content: ''; position: absolute; left: -35px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-050); }
.tl-item__year { font-size: 14px; font-weight: 800; color: var(--brand); }
.tl-item__title { font-size: 18px; font-weight: 700; color: var(--ink); margin: 4px 0 10px; }
.tl-item__desc { color: var(--body); font-size: 14.5px; line-height: 1.6; display: flex; flex-direction: column; gap: 10px; }
.tl-item__node { display: flex; align-items: baseline; gap: 10px; }
.tl-item__node time { font-size: 13px; font-weight: 700; color: var(--brand); background: var(--brand-050); padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.tl-item__node span { color: var(--body); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member__avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 800; }
.member__name { font-size: 17px; font-weight: 700; color: var(--ink); }
.member__role { font-size: 13px; color: var(--brand); font-weight: 600; margin: 4px 0 8px; }
.member__bio { font-size: 13.5px; color: var(--body); line-height: 1.6; }
.about-story { margin-top: 38px; display: flex; flex-direction: column; gap: 22px; max-width: 920px; }
.about-story p { font-size: 16px; line-height: 1.85; color: var(--body); }
.about-story p strong { color: var(--ink); font-weight: 700; }
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.cert { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; text-align: center; }
.cert svg { width: 34px; height: 34px; color: var(--brand); margin: 0 auto 10px; }
.cert div { font-size: 14px; font-weight: 600; color: var(--ink); }

/* contact form */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 40px; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 16px; }
.contact__list { display: flex; flex-direction: column; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; color: var(--body); font-size: 15px; }
.contact__list svg { width: 20px; height: 20px; color: var(--brand); flex: 0 0 auto; }
.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.field textarea { resize: vertical; min-height: 110px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field.invalid input, .field.invalid textarea { border-color: #EF4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, .12); }
.err { color: #EF4444; font-size: 12.5px; margin-top: 5px; display: none; }
.field.invalid .err { display: block; }
.row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================ Resources ============================ */
.res-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 38px; }
.res-cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.res-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.res-cat__ico { width: 48px; height: 48px; border-radius: 13px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.res-cat__ico svg { width: 24px; height: 24px; }
.res-cat__name { font-size: 18px; font-weight: 700; }
.res-cat__desc { color: var(--body); font-size: 14px; margin-top: 6px; line-height: 1.6; }
.res-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.res-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; overflow: hidden; }
.res-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.res-card__thumb { margin: -24px -24px 18px -24px; height: 160px; overflow: hidden; }
.res-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.res-card__type { font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-050); padding: 4px 10px; border-radius: 999px; align-self: flex-start; }
.res-card__title { font-size: 17px; font-weight: 700; color: var(--ink); margin: 12px 0 8px; }
.res-card__desc { color: var(--body); font-size: 14px; line-height: 1.6; flex: 1; }
.res-card__meta { font-size: 12.5px; color: var(--muted); margin-top: 14px; display: flex; align-items: center; gap: 6px; }
.res-card__meta svg { width: 15px; height: 15px; flex-shrink: 0; }
.tagcloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tagcloud .tag { font-size: 13.5px; padding: 7px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--body); transition: .2s; }
.tagcloud .tag:hover { border-color: var(--brand); color: var(--brand); }
.subscribe { margin-top: 40px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.subscribe h3 { font-size: 22px; font-weight: 700; }
.subscribe p { color: var(--body); font-size: 15px; margin-top: 6px; }
.subscribe form { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe input { padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; min-width: 240px; font-size: 15px; font-family: inherit; }
.subscribe input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }

/* calculator */
.calc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-top: 34px; }
.calc__form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.calc__field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.calc__field input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; }
.calc__field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.calc__lines { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.calc__line { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.calc__line b { color: var(--ink); }
.calc__big { margin-top: 18px; padding: 22px; border-radius: 14px; background: var(--grad-cta); color: #fff; text-align: center; }
.calc__big div { font-size: 34px; font-weight: 800; }
.calc__big span { font-size: 14px; opacity: .85; }
.calc__unit { color: var(--muted); font-size: 13px; }

/* ============================ Agents / hardware (products) ============================ */
.agents { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 38px; }
.agent { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; gap: 18px; align-items: flex-start; transition: transform .3s var(--ease), box-shadow .3s; }
.agent__body { flex: 1; min-width: 0; }
.agent:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.agent__icon { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; }
.agent__icon svg { width: 25px; height: 25px; }
.agent__name { font-size: 18px; font-weight: 700; color: var(--ink); }
.agent__role { font-size: 13px; color: var(--brand); font-weight: 600; margin: 2px 0 8px; }
.agent__desc { color: var(--body); font-size: 14.5px; line-height: 1.6; }
.hw { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 38px; }
.hw__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; gap: 18px; align-items: flex-start; transition: transform .3s var(--ease), box-shadow .3s; }
.hw__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hw__body { flex: 1; min-width: 0; }
.hw__img { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 16px; background: linear-gradient(135deg, var(--brand-050), #EAF1FF); color: var(--brand); display: grid; place-items: center; font-size: 22px; font-weight: 800; }
.hw__img svg { width: 44px; height: 44px; }
.hw__name { font-size: 18px; font-weight: 700; color: var(--ink); }
.hw__tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent-600); margin-left: 8px; }
.hw__desc { color: var(--body); font-size: 14.5px; margin-top: 6px; line-height: 1.6; }
.section-subtitle { margin-top: 48px; font-size: 19px; font-weight: 700; color: var(--ink); }
.ico { color: var(--brand); }

/* ============================ Footer ============================ */
.footer { background: #0B1220; color: #C7D0DE; padding: 64px 0 28px; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; }
.footer .brand img { filter: brightness(0) invert(1); }
.footer__about { color: #97A3B6; font-size: 14.5px; margin-top: 16px; max-width: 320px; line-height: 1.7; }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col a { color: #C7D0DE; font-size: 14.5px; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__contact li { display: flex; align-items: center; gap: 10px; color: #C7D0DE; font-size: 14px; }
.footer__contact svg { width: 18px; height: 18px; color: #6D8BBE; flex: 0 0 auto; }
.footer__qr { width: 92px; height: 92px; border-radius: 12px; background: #fff; padding: 6px; margin-top: 14px; }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8492A6; }


.footer__logo { filter: none !important; height: 44px; width: auto; }
.footer__about { margin-top: 16px; }
.footer__company { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.footer__slogan { color: #97A3B6; font-size: 14px; line-height: 1.6; }
.footer__qr { object-fit: contain; }
/* ============================ Modal ============================ */
.modal { position: fixed; inset: 0; z-index: 90; display: none; }
.modal.is-show { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px); }
.modal__panel { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(440px, 92vw); background: #fff; border-radius: 20px; padding: 30px; box-shadow: var(--shadow-lg); }
.modal__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: none; background: var(--bg-soft); border-radius: 50%; font-size: 20px; color: var(--ink); }
.modal__title { font-size: 22px; font-weight: 800; }
.modal__sub { color: var(--body); font-size: 14.5px; margin: 8px 0 20px; }
.modal__form .btn { width: 100%; margin-top: 6px; }
.modal__success,.modal__error { text-align: center; padding: 14px 0; }
.modal__success svg { width: 56px; height: 56px; color: #10B981; margin: 0 auto 12px; }
.modal__error svg { width: 56px; height: 56px; color: #F53F3F; margin: 0 auto 12px; }
.modal__success h3 { font-size: 20px; font-weight: 800; }
.modal__success p { color: var(--body); font-size: 14.5px; margin-top: 8px; }

/* 进入 PetLink · 即将开放 弹窗 */
.modal--soon .modal__panel { width: min(460px, 92vw); text-align: center; padding: 34px 30px 28px; }
.soon__tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--brand); background: var(--brand-050); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.soon__art { width: 132px; height: 132px; margin: 0 auto 18px; }
.soon__art svg { width: 100%; height: 100%; }
.modal--soon .modal__title { font-size: 24px; }
.modal--soon .modal__sub { margin-bottom: 22px; }

/* ============================ Back to top ============================ */
.totop { position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; border: none; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--ease); z-index: 55; }
.totop.is-show { opacity: 1; visibility: visible; transform: none; }
.totop svg { width: 22px; height: 22px; }

/* ============================ Reveal ============================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================ Responsive ============================ */
@media (max-width: 1024px) {
  .hero { padding: 84px 0 32px; }
  .subhero--split .container { grid-template-columns: 1fr; gap: 36px; }
  .subhero--split .eco { max-width: 520px; margin: 0 auto; width: 100%; }
  .subhero--split .os-wheel { max-width: 520px; margin: 0 auto; width: 100%; }
  .subhero--ecosystem .subhero__text { text-align: center; }
  .subhero--ecosystem .eco-tags { justify-content: center; }
  .subhero--ecosystem .value-cards { max-width: 520px; margin-left: auto; margin-right: auto; }
  .subhero--ecosystem .feature-cards { max-width: 520px; margin: 0 auto; width: 100%; }
  .eco { max-width: 520px; }
  .proof__card { width: calc(100% - 40px); padding: 36px 30px; gap: 30px; }
  .proof__cell { align-items: center; text-align: center; }
  .pain-hero { max-width: calc(100% - 40px); border-radius: 22px; margin-bottom: 36px; }
  .eco-band { grid-template-columns: 1fr; }
  .layer-connector { transform: rotate(90deg); }
  .pains, .prods, .vision, .team, .res-cats, .res-list, .certs, .cases-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .scene, .agents, .hw, .contact { grid-template-columns: 1fr; }
  .calc__form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav { padding-inline: 24px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .section { padding: 60px 0; }
  .hero { padding: 72px 0 28px; }
  .pain-hero { margin-bottom: 32px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .proof__card { padding: 30px 24px; flex-direction: column; align-items: center; gap: 26px; }
  .proof__cell { align-items: center; text-align: center; }
  .pains, .prods, .vision, .team, .res-cats, .res-list, .certs, .cases-grid, .grid-3, .cases, .pricing, .steps, .scene, .agents, .hw { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .cta-band { padding: 40px 22px; }
  .subscribe { flex-direction: column; align-items: flex-start; }
  .field--row { grid-template-columns: 1fr; }
  .subhero__stats { flex-direction: column; }
  .subhero__stat { width: 100%; }
  .value-cards { grid-template-columns: 1fr; }
  .capability-cards { grid-template-columns: 1fr; }
  .feature-card { padding: 14px; }
}
@media (max-width: 480px) {
  .container { padding-inline: 20px; }
  .nav { padding-inline: 20px; }
  .proof__card { width: calc(100% - 24px); }
  .pain-hero { max-width: calc(100% - 24px); }
}

/* ============================ 4-col feature grid (SaaS core) ============================ */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 38px; }
.feat { background: linear-gradient(160deg, #ffffff, #f7faff); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.feat__icon { width: 46px; height: 46px; border-radius: 13px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.feat__icon svg { width: 23px; height: 23px; }
.feat__title { font-size: 16px; font-weight: 700; color: var(--ink); display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.feat__title small { font-size: 12px; font-weight: 600; color: var(--brand); }
.feat__desc { color: var(--body); font-size: 14px; line-height: 1.6; margin-top: 8px; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

/* ============================ Cases page v2 ============================ */
.cases-hero {
  background: linear-gradient(135deg, #0B1A3A 0%, #123A7A 50%, #1D5FBE 100%);
  padding: 72px 0 86px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cases-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 420px at 86% -10%, rgba(255,255,255,.10), transparent 55%);
  pointer-events: none;
}
.cases-hero .container { position: relative; z-index: 1; }
.cases-hero__crumbs { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.65); font-size: 14px; margin-bottom: 18px; }
.cases-hero__crumbs a { color: rgba(255,255,255,.85); }
.cases-hero__crumbs a:hover { color: #fff; }
.cases-hero__crumbs svg { width: 16px; height: 16px; }
.cases-hero__title { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; color: #fff; }
.cases-hero__lead { color: rgba(255,255,255,.72); font-size: 17px; margin-top: 10px; }

.section--cases { padding-top: 24px; }
.section--cases .container { position: relative; z-index: 2; margin-top: 0; }

/* filters panel */
.filters--card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 28px 18px;
  box-shadow: var(--shadow);
}
.filters--card .filters__body { display: flex; flex-direction: column; gap: 14px; }
.filters--card .filter-row { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.filters--card .filter-row__label {
  flex: 0 0 auto;
  min-width: 76px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding-top: 8px;
}
.filters--card .filter-row__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filters--card .chip {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--body);
  font-size: 13.5px;
  font-weight: 500;
  transition: .18s;
}
.filters--card .chip:hover { border-color: var(--brand); color: var(--brand); }
.filters--card .chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filters--card .filters__foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filters--card .filter-search {
  flex: 1;
  min-width: 220px;
  position: relative;
}
.filters--card .filter-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted-2);
}
.filters--card .filter-search input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
}
.filters--card .filter-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.10); }
.filters--card .filter-search__btn { padding: 11px 22px; }
.filters--card .filter-reset { background: none; border: none; color: var(--muted); font-size: 14px; text-decoration: underline; cursor: pointer; }
.filters--card .filter-reset:hover { color: var(--brand); }

/* active tags */
.active-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.active-tags__label { font-size: 13.5px; color: var(--muted); }
.active-tags__list { display: flex; flex-wrap: wrap; gap: 8px; }
.active-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--brand-050);
  color: var(--brand-700);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.active-tag button {
  width: 16px;
  height: 16px;
  border: none;
  background: rgba(37,99,235,.12);
  border-radius: 50%;
  color: var(--brand);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* revised cases grid + card */
.cases-grid--revised { display: flex; flex-direction: column; gap: 24px; margin-top: 28px; }
.cases-grid--revised .case-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cases-grid--revised .case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-card__media { position: relative; min-height: 260px; background-size: cover; background-position: center; display: grid; place-items: center; overflow: hidden; }
.case-card__media-overlay { position: absolute; inset: 0; background: rgba(11, 16, 32, .42); z-index: 0; }
.case-card__photo { position: relative; z-index: 1; width: 120px; height: 120px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; box-shadow: 0 16px 40px rgba(0,0,0,.22); }
.case-card__photo svg { width: 54px; height: 54px; }
.case-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(15,23,42,.08);
}
.case-card__content { padding: 26px 28px 24px; display: flex; flex-direction: column; }
.case-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.case-card__store { font-size: 20px; font-weight: 800; color: var(--ink); }
.case-card__location { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.case-card__location svg { width: 14px; height: 14px; }
.case-card__badges { display: flex; gap: 7px; flex-wrap: wrap; }
.tag-product { padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid transparent; }
.tag-saas { color: #2563EB; background: #EAF1FF; border-color: #D4E3FF; }
.tag-iot { color: #D97706; background: #FFF3E0; border-color: #FFE4C2; }
.tag-ai { color: #7C3AED; background: #F3E8FF; border-color: #E9D5FF; }

/* metrics */
.case-card__metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.metric { background: var(--bg-soft); border-radius: 12px; padding: 14px; }
.metric__label { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.metric__value { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 14px; font-weight: 700; color: var(--ink); }
.metric__before { color: var(--muted-2); text-decoration: line-through; }
.metric__arrow { color: var(--muted-2); }
.metric__after { color: var(--brand); }
.metric__change { font-size: 12px; font-weight: 800; color: var(--accent-600); margin-top: 6px; }

/* quote */
.case-card__quote {
  margin-top: auto;
  background: linear-gradient(180deg, #fff, #F7F9FC);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.quote__avatar {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}
.case-card__quote p { font-size: 14px; color: var(--body); line-height: 1.6; }
.quote__author { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.case-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  color: var(--brand);
  font-weight: 700;
  font-size: 14.5px;
}
.case-card__link svg { width: 16px; height: 16px; transition: transform .2s; }
.case-card__link:hover svg { transform: translateX(4px); }

/* pagination + note */
.section--cases .pagination { margin-top: 30px; }
.cases-note { margin-top: 16px; font-size: 12.5px; color: var(--muted-2); text-align: center; }

/* orange CTA band */
.cta-band--orange { background: linear-gradient(120deg, #FF7A1A 0%, #FF5500 100%); border-radius: 18px; margin-top: 0; }
.cta-band--orange::after { display: none; }
.cta-band--orange .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; text-align: left; }
.cta-band--orange h2 { color: #fff; font-size: clamp(20px, 2.8vw, 28px); }
.cta-band--orange p { color: rgba(255,255,255,.85); margin-top: 4px; }
.cta-band__content { display: flex; align-items: center; gap: 18px; }
.cta-band__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.cta-band__icon svg { width: 26px; height: 26px; }
.cta-band--orange .btn--light { background: #fff; color: var(--accent-600); box-shadow: 0 8px 22px rgba(0,0,0,.12); }

@media (max-width: 1024px) {
  .cases-grid--revised .case-card { grid-template-columns: 1fr; }
  .case-card__media { min-height: 180px; }
  .case-card__photo { width: 90px; height: 90px; }
  .case-card__photo svg { width: 40px; height: 40px; }
  .case-card__metrics { grid-template-columns: repeat(2, 1fr); }
  .cta-band--orange .container { text-align: center; justify-content: center; }
}
@media (max-width: 640px) {
  .filters--card { padding: 20px; }
  .filters--card .filter-row { gap: 10px; }
  .filters--card .filter-row__label { min-width: 70px; padding-top: 6px; }
  .case-card__metrics { grid-template-columns: 1fr; }
  .case-card__head { flex-direction: column; }
  .cta-band__icon { display: none; }
}

/* ============================ Core capabilities cards (image#1 style) ============================ */
.cap-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.cap-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.cap-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cap-card__tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.tag--saas { color: #2563EB; background: #EAF1FF; }
.tag--iot { color: #D97706; background: #FFF3E0; }
.tag--ai { color: #7C3AED; background: #F3E8FF; }
.cap-card__title { font-size: 22px; font-weight: 800; margin-bottom: 14px; color: var(--ink); text-align: left; }
.cap-card__list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.cap-card__list li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--body); line-height: 1.6; text-align: left; }
.cap-card__list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.cap-card__list li strong { color: var(--brand); font-weight: 700; }
.cap-card__art {
  margin-top: auto;
  height: 110px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.cap-card__art svg { width: 100%; height: 100%; }
.cap-card__art--saas { background: linear-gradient(135deg, #F4F8FF, #EAF1FF); }
.cap-card__art--iot { background: linear-gradient(135deg, #FFF8F0, #FFE8CC); }
.cap-card__art--ai { background: linear-gradient(135deg, #FAF5FF, #F3E8FF); }
.cap-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 700;
  font-size: 14.5px;
  margin-top: auto;
}
.cap-card__link svg { width: 16px; height: 16px; transition: transform .2s; }
.cap-card:hover .cap-card__link svg { transform: translateX(4px); }

/* ============================ Home case showcases (image#3 style) ============================ */
.case-showcases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 44px; }
.case-showcase {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.case-showcase:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.case-showcase__hero {
  position: relative;
  min-height: 180px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(135deg, #0B1A3A 0%, #123A7A 60%, #1D5FBE 100%);
  color: #fff;
}
.case-showcase__hero--alt { background: linear-gradient(135deg, #1E293B 0%, #334155 60%, #475569 100%); }
.case-showcase__hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 320px at 90% -20%, rgba(255,255,255,.12), transparent 55%);
  pointer-events: none;
}
.case-showcase__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 1;
}
.case-showcase__brand { font-size: 24px; font-weight: 800; position: relative; z-index: 1; }
.case-showcase__location { display: flex; align-items: center; gap: 5px; font-size: 13.5px; color: rgba(255,255,255,.75); margin-top: 6px; position: relative; z-index: 1; }
.case-showcase__location svg { width: 14px; height: 14px; }
.case-showcase__body { padding: 26px; }
.case-showcase__title { font-size: 18px; font-weight: 800; margin-bottom: 14px; color: var(--ink); }
.case-showcase__list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 9px; }
.case-showcase__list li { position: relative; padding-left: 14px; font-size: 14px; color: var(--body); line-height: 1.55; }
.case-showcase__list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.case-showcase__list li strong { color: var(--brand); font-weight: 700; }
.case-showcase__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
  background: var(--bg-soft);
  border-radius: 14px;
  margin-bottom: 18px;
}
.case-showcase__stats div { text-align: center; }
.case-showcase__stats b { display: block; font-size: 16px; font-weight: 800; color: var(--ink); }
.case-showcase__stats span { font-size: 12px; color: var(--muted); margin-top: 4px; display: block; }
.case-showcase__quote {
  background: linear-gradient(180deg, #fff, #F7F9FC);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.case-showcase__quote p { font-size: 13.5px; color: var(--body); line-height: 1.6; }
.case-showcase__quote span { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.case-showcase__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
}
.case-showcase__link svg { width: 16px; height: 16px; transition: transform .2s; }
.case-showcase:hover .case-showcase__link svg { transform: translateX(4px); }

@media (max-width: 1024px) {
  .cap-cards { grid-template-columns: 1fr; }
  .case-showcases { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cap-card { padding: 22px; }
  .case-showcase__stats { grid-template-columns: 1fr; text-align: left; }
  .case-showcase__stats div { text-align: left; }
  .case-showcase__hero { min-height: 150px; padding: 20px; }
  .case-showcase__brand { font-size: 20px; }
}

/* ============================ Home: pain-block split / arch+cap / case image headers ============================ */
.pain-block { background: var(--bg-soft); }
.pain-eco { margin-top: 64px; }
.pain-eco__head { text-align: center; margin-bottom: 36px; }
.pain-eco__head .section-title { margin-inline: auto; }
.pain-eco__head .section-lead { margin-inline: auto; }

.scroll-arrow { display: flex; justify-content: center; margin-top: 28px; color: var(--brand); cursor: pointer; transition: color .2s; }
.scroll-arrow:hover { color: var(--brand-700); }
.scroll-arrow svg { width: 32px; height: 32px; animation: bounceDown 1.6s ease-in-out infinite; }
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); opacity: .7; }
  50% { transform: translateY(10px); opacity: 1; }
}
.eco-band--center .layer-card { text-align: center; align-items: center; }
.eco-band--center .layer-card__chips { justify-content: center; }
.eco-band--left .layer-card { align-items: flex-start; text-align: left; }
.eco-band--left .layer-card__chips { justify-content: flex-start; }

.block-arch { background: #fff; }
.cap-inner { margin-top: 44px; text-align: center; }
.cap-inner .section-title { margin-inline: auto; }
.cap-inner .section-lead { margin-inline: auto; }

/* case header image with semi-transparent black overlay + white title */
.case-showcase__hero--img {
  min-height: 200px;
  background: linear-gradient(rgba(11, 16, 32, .52), rgba(11, 16, 32, .52)), url('../img/case-grooming.png');
  background-size: cover;
  background-position: center;
}
.case-showcase__hero--img::after { display: none; }
.case-showcase__hero--img2 {
  background-image: linear-gradient(rgba(11, 16, 32, .52), rgba(11, 16, 32, .52)), url('../img/case-hospital.png');
}
.case-showcase__hero--img .case-showcase__brand { color: #fff; }

/* ============================ News ============================ */
.subhero--center { text-align: center; padding: 96px 0 32px; }
.subhero--center .eyebrow { margin-inline: auto; }
.subhero--center .subhero__lead { margin-inline: auto; max-width: 620px; }
.news-filter { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.news-filter .chip {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--body); font-weight: 500; font-size: 14px;
  transition: all .2s; cursor: pointer;
}
.news-filter .chip:hover { border-color: var(--brand); color: var(--brand); }
.news-filter .chip.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

.news-list { display: flex; flex-direction: column; gap: 22px; max-width: 980px; margin-inline: auto; }
.news-card {
  display: grid; grid-template-columns: 1fr 220px; gap: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.news-card__tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: var(--brand-050); color: var(--brand);
}
.news-card__date { font-size: 13px; color: var(--muted); }
.news-card__title { font-size: 20px; font-weight: 800; line-height: 1.35; margin-bottom: 10px; }
.news-card__title a { color: var(--ink); transition: color .2s; }
.news-card__title a:hover { color: var(--brand); }
.news-card__desc { font-size: 14.5px; color: var(--body); line-height: 1.6; margin-bottom: 16px; }
.news-card__source { font-size: 13px; color: var(--muted); }
.news-card__media { display: flex; align-items: center; justify-content: center; }
.news-card__thumb {
  width: 100%; aspect-ratio: 16/10; border-radius: 14px;
  object-fit: cover; display: block; border: 1px solid var(--line);
  background: var(--bg-soft);
}
.news-card__thumb[src*="news-product"] { border-color: #E9D5FF; }
.news-card__thumb[src*="news-market"] { border-color: #DBEAFE; }
.news-card__thumb[src*="news-news"] { border-color: #FFEDD5; }

.container--narrow { max-width: 860px; }
.subhero--article { padding: 70px 0 26px; }
.subhero--article .subhero__title { font-size: clamp(28px, 4vw, 46px); margin-top: 18px; }
.news-detail__tag {
  display: inline-flex; margin-top: 18px;
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: var(--brand-050); color: var(--brand);
}
.news-detail__meta { margin-top: 14px; font-size: 14px; color: var(--muted); }
.news-detail__lead {
  font-size: 18px; line-height: 1.7; color: var(--ink);
  padding: 28px; background: var(--bg-soft); border-radius: 18px; margin-bottom: 32px;
}
.news-detail__frame {
  text-align: center; padding: 44px 28px; border: 1px dashed var(--line); border-radius: 20px;
  background: #fff;
}
.news-detail__frame-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--bg-soft);
  display: grid; place-items: center; margin: 0 auto 18px; color: var(--brand);
}
.news-detail__frame-icon svg { width: 28px; height: 28px; }
.news-detail__frame h3 { font-size: 20px; margin-bottom: 8px; }
.news-detail__frame p { color: var(--body); margin-bottom: 22px; }

@media (max-width: 760px) {
  .news-card { grid-template-columns: 1fr; }
  .news-card__media { order: -1; }
  .news-card__thumb { aspect-ratio: 16/9; }
}

/* ============================ Reduced motion ============================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

.record__icon {
  width: 20px;
    display: inline-block;
    height: 20px;
    margin-right: 6px;
    vertical-align: top;
}