/* ==========================================================
   YIT 仰格信息 官网静态版
   布局沿用原站 Hestia（Material Kit）主题骨架：
   全屏轮播 + 悬浮内容卡片 + 卡片式产品/客户展示 + 深色页脚
   ========================================================== */

:root {
  --primary: #0398b8;          /* 取自公司 LOGO 主色；原站主题强调色为 #e91e63，如需还原改这里即可 */
  --primary-dark: #027a94;
  --primary-light: #36c5e0;
  --primary-soft: rgba(3, 152, 184, .1);
  --grad: linear-gradient(135deg, #0398b8 0%, #36c5e0 100%);
  --text: #3c4858;
  --text-2: #5f6b7a;
  --text-muted: #8a94a3;
  --heading: #2d3359;
  --line: #edf0f3;
  --bg: #e5e5e5;
  --footer: #1f2329;
  --radius: 8px;
  --shadow: 0 16px 38px -12px rgba(0,0,0,.4), 0 4px 25px 0 rgba(0,0,0,.1), 0 8px 10px -5px rgba(0,0,0,.15);
  --shadow-sm: 0 1px 3px rgba(16,24,40,.08), 0 1px 2px rgba(16,24,40,.06);
  --shadow-md: 0 18px 40px -16px rgba(16,24,40,.35), 0 6px 16px -8px rgba(16,24,40,.12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Roboto, Arial, sans-serif;
  --container: 1170px;
  --gutter: clamp(16px, 4vw, 30px);
  --interval: 6s;              /* 轮播间隔，需与 main.js 中保持一致 */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(15px, .2vw + 14px, 16px);
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4, h5, h6 { color: var(--heading); margin: 0 0 .5em; line-height: 1.35; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 顶部阅读进度条 ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}

/* ---------- 按钮 ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 30px; border-radius: 40px; border: 0;
  background: var(--primary); color: #fff !important;
  font-size: 14px; font-weight: 500; letter-spacing: 2px;
  box-shadow: 0 8px 20px -8px rgba(3,152,184,.7);
  transition: box-shadow .3s, transform .3s var(--ease);
  cursor: pointer;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad); opacity: 0; transition: opacity .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(3,152,184,.8); }
.btn:hover::before { opacity: 1; }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-lg { padding: 15px 40px; font-size: 15px; }
.btn-ghost { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.ripple {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,.45);
  transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none;
}
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s, box-shadow .35s, padding .35s;
  padding: 18px 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar .brand img { height: 50px; width: auto; transition: height .35s, filter .35s; }
.navbar.transparent .brand img { filter: brightness(0) invert(1); }
.navbar.scrolled, .navbar.solid {
  background: rgba(255,255,255,.92); padding: 8px 0;
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 6px 24px -10px rgba(0,0,0,.25);
}
.navbar.scrolled .brand img { height: 42px; filter: none; }

.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  position: relative; display: flex; align-items: center; gap: 4px;
  padding: 10px 16px; font-size: 14px; font-weight: 500; letter-spacing: .5px;
  color: #444;
}
.nav-menu > li > a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: center; transition: transform .3s var(--ease);
}
.nav-menu > li > a:hover::after, .nav-menu > li.active > a::after { transform: scaleX(1); }
.navbar.transparent:not(.scrolled) .nav-menu > li > a { color: #fff; }
.nav-menu > li > a:hover, .nav-menu > li.active > a { color: var(--primary); }
.navbar.transparent:not(.scrolled) .nav-menu > li > a:hover,
.navbar.transparent:not(.scrolled) .nav-menu > li.active > a { color: #fff; }
.nav-menu .caret { display: inline-flex; width: 10px; height: 10px; transition: transform .3s; }
.nav-menu .caret svg { width: 10px; height: 10px; }

.dropdown {
  position: absolute; top: 100%; left: 50%; min-width: 290px;
  list-style: none; margin: 10px 0 0; padding: 8px;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.has-dropdown:hover .caret, .has-dropdown.open .caret { transform: rotate(180deg); }
.dropdown li { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.has-dropdown:hover .dropdown li, .has-dropdown:focus-within .dropdown li, .has-dropdown.open .dropdown li { opacity: 1; transform: none; }
.dropdown li:nth-child(2) { transition-delay: .04s; }
.dropdown li:nth-child(3) { transition-delay: .08s; }
.dropdown li:nth-child(4) { transition-delay: .12s; }
.dropdown a {
  display: block; padding: 10px 16px; border-radius: 6px; font-size: 14px; color: #333;
  transition: background .2s, color .2s, padding .25s var(--ease);
}
.dropdown a:hover { background: var(--primary-soft); color: var(--primary); padding-left: 22px; }
.dropdown a.active { background: var(--primary); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; width: 22px; background: #555; border-radius: 1px; transition: .3s; }
.navbar.transparent:not(.scrolled) .nav-toggle span { background: #fff; }

/* ---------- 首页轮播 ---------- */
.carousel {
  position: relative; height: 100vh; height: 100svh; min-height: 520px; max-height: 960px;
  overflow: hidden; background: #0b1a22;
}
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s; }
.slide.active { opacity: 1; visibility: visible; z-index: 1; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(2,30,45,.78) 0%, rgba(0,0,0,.45) 55%, rgba(3,152,184,.35) 100%);
}
.slide.active .slide-bg { animation: kenburns calc(var(--interval) + 2s) ease-out both; }
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1); } }
.slide-inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 0 var(--gutter) 40px;
}
.slide .eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 6px; font-weight: 600;
  padding: 6px 16px; border-radius: 30px; margin-bottom: 22px;
  background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.slide h1 {
  color: #fff; font-size: clamp(32px, 6vw, 64px); letter-spacing: .12em; margin: 0 0 36px;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.slide h1 .ch { display: inline-block; }
.js .slide .eyebrow, .js .slide .btn, .js .slide h1 .ch { opacity: 0; }
.slide.active .eyebrow { animation: fadeUp .8s var(--ease) .2s both; }
.slide.active h1 .ch { animation: charIn .7s var(--ease) calc(var(--i) * 55ms + .35s) both; }
.slide.active .btn { animation: fadeUp .8s var(--ease) .9s both; }
@keyframes charIn { from { opacity: 0; transform: translateY(.6em) rotateX(-60deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fadeUp { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

.carousel-ctrl {
  position: absolute; top: 50%; z-index: 5; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 0; color: #fff; cursor: pointer;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
  display: grid; place-items: center; transition: background .3s, transform .3s;
}
.carousel-ctrl:hover { background: rgba(255,255,255,.2); }
.carousel-ctrl.prev:hover { transform: translateY(-50%) translateX(-3px); }
.carousel-ctrl.next:hover { transform: translateY(-50%) translateX(3px); }
.carousel-ctrl svg { width: 22px; height: 22px; }
.carousel-ctrl.prev { left: var(--gutter); }
.carousel-ctrl.next { right: var(--gutter); }
.carousel-dots { position: absolute; bottom: 96px; left: 0; right: 0; z-index: 5; display: flex; justify-content: center; gap: 10px; }
.carousel-dots button {
  position: relative; width: 40px; height: 4px; border-radius: 2px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.3); overflow: hidden;
}
.carousel-dots button::before { content: ""; position: absolute; inset: -10px 0; } /* 扩大点击区域 */
.carousel-dots button::after {
  content: ""; position: absolute; inset: 0; background: #fff; transform-origin: 0 50%; transform: scaleX(0);
}
.carousel-dots button.active::after { animation: dotFill var(--interval) linear forwards; }
.carousel.paused .carousel-dots button.active::after { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }

/* ---------- 悬浮主体卡片 ---------- */
.main { position: relative; z-index: 3; background: #fff; }
.main-raised { margin: -60px 30px 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-title { text-align: center; max-width: 820px; margin: 0 auto clamp(36px, 5vw, 60px); }
.section-title h2 { font-size: clamp(22px, 2.6vw, 32px); letter-spacing: .02em; }
.section-title h5 { color: var(--text-muted); font-weight: 400; font-size: clamp(14px, 1.2vw, 16px); margin: 0; }
.section-title::after {
  content: ""; display: block; width: 56px; height: 3px; background: var(--grad); margin: 22px auto 0; border-radius: 2px;
  transform: scaleX(0); transition: transform .9s var(--ease) .35s;
}
.section-title.in::after, .no-js .section-title::after { transform: scaleX(1); }

/* 特性 */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.feature {
  position: relative; text-align: center; padding: 36px 24px 30px; border-radius: 12px;
  transition: background .4s, box-shadow .4s, transform .4s var(--ease);
}
.feature:hover { background: #fff; box-shadow: var(--shadow-md); transform: translateY(-6px); }
.feature .icon {
  position: relative; width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--primary-soft); color: var(--primary);
  transition: background .4s, color .4s;
}
.feature .icon::before {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1.5px dashed var(--primary); opacity: 0; transition: opacity .4s;
  animation: spin 12s linear infinite;
}
.feature:hover .icon { background: var(--grad); color: #fff; }
.feature:hover .icon::before { opacity: .6; }
.feature .icon svg { width: 36px; height: 36px; }
.feature h4 { font-size: 20px; }
.feature p { color: var(--text-muted); margin: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 图片背景区块（视差） */
.section-image { position: relative; overflow: hidden; color: #fff; text-align: center; isolation: isolate; }
.parallax { position: absolute; left: 0; right: 0; top: -20%; height: 140%; z-index: -1; background-size: cover; background-position: center; will-change: transform; }
.parallax::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(2,30,45,.8), rgba(0,0,0,.5) 60%, rgba(3,152,184,.4)); }
.section-image h2, .section-image h4 { color: #fff; }
.about-block { padding: clamp(90px, 12vw, 150px) 0; }
.about-block h4 { font-size: clamp(19px, 2.6vw, 30px); font-weight: 400; letter-spacing: .12em; margin: 0; }
.about-block h4 + .line + h4 { font-weight: 700; }
.about-block .line { width: 60px; height: 2px; background: var(--primary-light); margin: 26px auto; transform: scaleX(0); transition: transform 1s var(--ease) .4s; }
.about-block .in .line, .no-js .about-block .line { transform: scaleX(1); }
.ribbon { padding: clamp(70px, 9vw, 110px) 0; }
.ribbon h2 { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 30px; letter-spacing: .1em; }

/* 产品卡片 */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.4vw, 30px); perspective: 1200px; }
.product-card {
  position: relative; display: block; background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); color: inherit;
  transform-style: preserve-3d; transition: box-shadow .4s, transform .4s var(--ease);
}
.product-card:hover { box-shadow: var(--shadow-md); color: inherit; }
.product-card .thumb { position: relative; overflow: hidden; aspect-ratio: 1; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .thumb img { transform: scale(1.08); }
.product-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,60,80,.85), transparent 55%); opacity: 0; transition: opacity .4s;
}
.product-card:hover .thumb::after { opacity: 1; }
.product-card .more {
  position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; text-align: center;
  color: #fff; font-size: 14px; letter-spacing: 2px; opacity: 0; transform: translateY(14px);
  transition: opacity .4s, transform .4s var(--ease);
}
.product-card:hover .more { opacity: 1; transform: none; }
.product-card .shine {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), transparent 45%);
}
.product-card:hover .shine { opacity: 1; }
.product-card .body { padding: 18px 14px 20px; text-align: center; }
.product-card h4 { font-size: clamp(15px, 1.4vw, 18px); margin-bottom: 4px; }
.product-card h6 { color: var(--primary); font-size: 12px; letter-spacing: 3px; margin: 0; font-weight: 600; }

/* 客户 */
.clients { background: linear-gradient(180deg, #fafbfc, #f3f6f8); }
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 26px); }
.client-card {
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
  padding: 28px 12px 22px; text-align: center; transition: box-shadow .4s, transform .4s var(--ease);
}
.client-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.client-card .avatar {
  position: relative; width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 6px 18px -8px rgba(0,0,0,.3);
  display: grid; place-items: center; transition: transform .5s var(--ease);
}
.client-card .avatar::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--primary); opacity: 0; transform: scale(.9); transition: opacity .4s, transform .4s var(--ease);
}
.client-card:hover .avatar { transform: scale(1.06); }
.client-card:hover .avatar::after { opacity: .5; transform: none; }
.client-card .avatar img { width: 86%; height: 86%; object-fit: contain; border-radius: 50%; }
.client-card h4 { font-size: clamp(14px, 1.2vw, 16px); margin-bottom: 2px; }
.client-card h6 { color: var(--text-muted); font-weight: 400; font-size: 13px; margin: 0; }

/* ---------- 子页面 ---------- */
.page-header {
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(300px, 38vw, 430px); display: flex; align-items: center; justify-content: center;
  text-align: center; padding-top: 50px;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
  color: #fff; font-size: clamp(30px, 5vw, 58px); font-weight: 800; line-height: 1.25; margin: 0; letter-spacing: .06em;
  -webkit-text-stroke: .015em #fff; /* 苹方最粗只有 Semibold，加细描边让字更饱满 */
  text-shadow: 0 4px 24px rgba(0,0,0,.45);
}
.page-header .crumbs { color: rgba(255,255,255,.85); font-size: clamp(14px, 1.2vw, 16px); font-weight: 500; margin-top: 18px; letter-spacing: 1px; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.page-header .crumbs a { color: rgba(255,255,255,.9); }
.page-header .crumbs a:hover { color: #fff; }
.page-header h1, .page-header .crumbs { animation: fadeUp 1s var(--ease) both; }
.page-header .crumbs { animation-delay: .2s; }
.page-header .parallax { animation: kenburns 10s ease-out both; }

.article { max-width: 980px; margin: 0 auto; padding: clamp(44px, 6vw, 76px) 0 clamp(50px, 6vw, 80px); }
.article p { text-align: justify; text-justify: inter-ideograph; }
.article .lead { font-size: clamp(15.5px, 1.3vw, 17px); line-height: 1.95; color: var(--text); }
.article strong { color: var(--heading); }
.article h3 {
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(19px, 2vw, 23px); margin: clamp(40px, 5vw, 60px) 0 22px;
}
.article h3::before { content: ""; width: 4px; height: 1.1em; border-radius: 2px; background: var(--grad); flex: none; }
.article figure { margin: 34px 0; }
.article figure img { margin: 0 auto; }

/* 简介 + 配图 双栏 */
.intro-split { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.intro-split figure { margin: 0; }
.intro-split figure img { max-height: 400px; width: auto; margin: 0 auto; }

/* 浏览器样式截图框 */
.browser { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-md), 0 0 0 1px var(--line); }
.browser-bar { height: 34px; background: #f3f5f7; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }

.logo-card { max-width: 520px; margin: 34px auto; padding: 18px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }

/* 信息卡片 */
.card-grid { display: grid; gap: clamp(16px, 2vw, 24px); margin: 26px 0; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.stack { grid-template-columns: 1fr; }
.card-grid.stack .info-card { display: grid; grid-template-columns: 48px 1fr; column-gap: 22px; align-items: start; }
.card-grid.stack .info-card .ic { grid-row: span 2; margin: 0; }
.card-grid.stack .info-card h4 { margin-top: 10px; }
.card-grid.cols-3 .info-card h4 { min-height: 2.7em; }
.card-grid.grid-5 { grid-template-columns: repeat(6, 1fr); }
.card-grid.grid-5 > * { grid-column: span 2; }
.card-grid.grid-5 > :nth-child(n+4) { grid-column: span 3; }
.info-card {
  position: relative; background: #fff; border-radius: 12px; padding: 28px 26px;
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); overflow: hidden;
  transition: box-shadow .4s, transform .4s var(--ease);
}
.info-card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease);
}
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.info-card:hover::before { transform: scaleX(1); }
.info-card .ic {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); margin-bottom: 18px;
  transition: background .4s, color .4s, transform .4s var(--ease);
}
.info-card:hover .ic { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.05); }
.info-card .ic svg { width: 24px; height: 24px; }
.info-card .num { font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: 2px; margin-bottom: 10px; }
.info-card h4 { font-size: 17px; margin-bottom: 10px; }
.info-card p { color: var(--text-2); font-size: 15px; margin: 0; }
.info-card ul { margin: 0; padding: 0; list-style: none; color: var(--text-2); font-size: 15px; }
.info-card ul li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.info-card ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

/* 编号行式布局：适合长文字说明 */
.rows { margin: 10px 0 0; border-top: 1px solid var(--line); }
.row-item {
  display: grid; grid-template-columns: 290px 1fr; gap: 32px; padding: 30px 0;
  border-bottom: 1px solid var(--line); transition: background .4s;
}
.row-item .head { display: flex; gap: 16px; align-items: flex-start; }
.row-item .idx {
  flex: none; font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -1px;
  color: transparent; -webkit-text-stroke: 1.5px var(--primary);
  transition: color .4s;
}
.row-item:hover .idx { color: var(--primary); }
.row-item h4 { font-size: 17px; margin: 6px 0 0; text-wrap: pretty; }
.row-item p { margin: 0; color: var(--text-2); }

.callout {
  position: relative; background: linear-gradient(135deg, rgba(3,152,184,.08), rgba(54,197,224,.04));
  border-radius: 12px; padding: 24px 28px; margin: 28px 0; border-left: 4px solid var(--primary);
}
.callout p:last-child { margin: 0; }

/* 步骤（带连接线） */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 20px 0; }
.steps li { position: relative; padding: 4px 0 26px 60px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px;
  box-shadow: 0 0 0 6px var(--primary-soft);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 46px; bottom: 6px; width: 2px; background: linear-gradient(var(--primary-light), transparent); }

/* 联系方式 */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 20px; }
.contact-grid .wide { grid-column: 1 / -1; }
.contact-item {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; background: #fff;
  border-radius: 12px; box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
  transition: box-shadow .4s, transform .4s var(--ease);
}
.contact-item:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.contact-item .ic { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item b { display: block; color: var(--heading); margin-bottom: 2px; }
.contact-item span { color: var(--text-2); font-size: 15px; }

.page-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(44px, 6vw, 64px); }
.page-nav a {
  display: block; padding: 18px 22px; border-radius: 12px; background: #f6f8fa; color: var(--heading);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.page-nav a small { display: block; font-size: 12px; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 2px; transition: color .3s; }
.page-nav a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.page-nav a:hover small { color: rgba(255,255,255,.8); }
.page-nav .next { text-align: right; grid-column: 2; }

/* ---------- 页脚 ---------- */
.footer { position: relative; background: var(--footer); color: rgba(255,255,255,.7); padding: clamp(48px, 6vw, 70px) 0 0; font-size: 14px; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 40px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 1px; }
.footer h5 + p + h5, .footer p + h5 { margin-top: 22px; }
.footer .f-logo { height: 46px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer p { margin: 0 0 6px; }
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { display: inline-block; transition: color .2s, transform .3s var(--ease); }
.footer ul a:hover { transform: translateX(4px); }
.footer .big { color: #fff; font-size: 20px; font-weight: 600; letter-spacing: 1px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: 13px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.55); }

.back-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--primary); border: 0; cursor: pointer; box-shadow: var(--shadow-md);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { transform: translateY(-3px); }
.back-top svg.arrow { width: 18px; height: 18px; position: relative; z-index: 1; }
.back-top .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.back-top .ring circle { fill: none; stroke-width: 2.5; }
.back-top .ring .track { stroke: var(--primary-soft); }
.back-top .ring .bar { stroke: var(--primary); stroke-linecap: round; stroke-dasharray: 138.2; stroke-dashoffset: 138.2; }

/* ---------- 滚动渐显 ---------- */
/* 仅在脚本就绪（html.js）时隐藏，脚本失效时内容始终可见 */
.js .reveal { opacity: 0; }
.js .reveal.in { animation: revealUp .9s var(--ease) var(--d, 0ms) both; }
@keyframes revealUp { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
.js .reveal-zoom { opacity: 0; }
.js .reveal-zoom.in { animation: revealZoom 1s var(--ease) var(--d, 0ms) both; }
@keyframes revealZoom { from { opacity: 0; scale: .94; translate: 0 30px; } to { opacity: 1; scale: 1; translate: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-zoom, .js .slide .eyebrow, .js .slide .btn, .js .slide h1 .ch, .js .kn-scene .kn-ask { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
/* 平板横屏及以下 */
@media (max-width: 991px) {
  .main-raised { margin: -40px 16px 0; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-3 { grid-template-columns: 1fr; }
  .card-grid.grid-5 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.grid-5 > *, .card-grid.grid-5 > :nth-child(n+4) { grid-column: span 1; }
  .card-grid.grid-5 > :last-child { grid-column: 1 / -1; }
  .row-item { grid-template-columns: 220px 1fr; gap: 24px; }
  .card-grid.cols-3 .info-card h4 { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .carousel-dots { bottom: 70px; }

  .nav-toggle { display: flex; position: relative; z-index: 2; }
  .nav-menu {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(300px, 82vw); flex-direction: column; gap: 0;
    background: #fff; padding: 84px 14px 24px; box-shadow: var(--shadow); overflow-y: auto;
    transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .nav-open .nav-menu { transform: none; }
  .nav-menu > li { opacity: 0; transform: translateX(20px); transition: opacity .3s, transform .4s var(--ease); }
  .nav-open .nav-menu > li { opacity: 1; transform: none; }
  .nav-open .nav-menu > li:nth-child(2) { transition-delay: .06s; }
  .nav-open .nav-menu > li:nth-child(3) { transition-delay: .12s; }
  .nav-menu > li > a, .navbar.transparent:not(.scrolled) .nav-menu > li > a { color: #333; padding: 12px 14px; font-size: 15px; }
  .nav-menu > li.active > a, .navbar.transparent:not(.scrolled) .nav-menu > li.active > a { color: var(--primary); }
  .nav-menu > li > a::after { display: none; }
  .nav-menu .caret { display: none; }
  .dropdown, .dropdown li { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin: 0; padding: 0 0 6px 8px; min-width: 0; background: none; }
  .dropdown::before { display: none; }
  .dropdown a { padding: 9px 14px; font-size: 14px; color: #555; }
  .nav-open .nav-toggle span { background: #555 !important; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-mask { position: fixed; inset: 0; background: rgba(10,20,30,.45); z-index: 99; opacity: 0; visibility: hidden; transition: .35s; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
  body.nav-locked .nav-mask { opacity: 1; visibility: visible; }
  body.nav-locked { overflow: hidden; }
}
/* 平板竖屏 */
@media (max-width: 860px) {
  .intro-split { grid-template-columns: 1fr; }
  .intro-split figure img { max-width: 420px; margin: 0 auto; }
}
/* 手机 */
@media (max-width: 767px) {
  .features-grid { grid-template-columns: 1fr; gap: 8px; }
  .feature { padding: 24px 16px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .client-card { padding: 22px 10px 16px; }
  .client-card .avatar { width: 76px; height: 76px; }
  .card-grid.cols-2, .card-grid.grid-5 { grid-template-columns: 1fr; }
  .card-grid.grid-5 > :last-child { grid-column: auto; }
  .row-item { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .card-grid.stack .info-card { display: block; }
  .card-grid.stack .info-card .ic { margin-bottom: 16px; }
  .card-grid.stack .info-card h4 { margin-top: 0; }
  .row-item .idx { font-size: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer a { overflow-wrap: break-word; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 2px; padding-bottom: 76px; }
  .footer-bottom span[aria-hidden] { display: none; }
  .main-raised { margin: -28px 0 0; border-radius: 18px 18px 0 0; }
  .carousel-ctrl { display: none; }
  .carousel-dots { bottom: 52px; }
  .slide h1 { letter-spacing: .06em; }
  .page-nav { grid-template-columns: 1fr; }
  .page-nav .next { grid-column: auto; }
  .info-card { padding: 22px 20px; }
  .back-top { right: 14px; bottom: 14px; }
}
@media (max-width: 380px) {
  .product-card .body { padding: 14px 8px 16px; }
}
@media (max-width: 340px) {
  .footer-grid { grid-template-columns: 1fr; }
}
/* 触屏设备不做悬浮倾斜等 hover 专属效果 */
@media (hover: none) {
  .product-card .more { opacity: 1; transform: none; font-size: 12px; bottom: 10px; }
  .product-card .thumb::after { opacity: .7; background: linear-gradient(to top, rgba(3,60,80,.8), transparent 35%); }
  .feature:hover, .info-card:hover, .client-card:hover, .contact-item:hover { transform: none; }
}

/* ==========================================================
   Knode 个人知识中心页（依据 2026 版彩页）
   ========================================================== */
.kn { --k-navy: #13344e; --k-deep: #195d80; --k-g: #148c7f; --k-b: #2c72a9; --k-p: #6d5cb1; --k-o: #b67431; --k-bg: #f2f7fa; --k-line: #e3ebf1; --k-text: #3d5368; }
.kn .c-g { --c: var(--k-g); --c-bg: #e7f4ef; }
.kn .c-b { --c: var(--k-b); --c-bg: #e8f0f8; }
.kn .c-p { --c: var(--k-p); --c-bg: #f0edfa; }
.kn .c-o { --c: var(--k-o); --c-bg: #f8efe4; }
.kn-ic { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--c-bg); color: var(--c); }
.kn-ic svg { width: 24px; height: 24px; }
.article .kn p { text-align: left; }

/* 简介 */
.kn-intro { margin-bottom: clamp(28px, 4vw, 40px); }
.kn-eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 4px; color: var(--k-deep); background: rgba(25,93,128,.08); padding: 5px 14px; border-radius: 20px; margin-bottom: 14px; }
.kn-intro h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--k-navy); margin-bottom: 14px; }
.kn-intro p { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.9; color: #4b647a; margin: 0; }

/* 架构图 */
.kn-arch { position: relative; overflow: hidden; background: var(--k-bg); border-radius: 18px; padding: clamp(20px, 3.5vw, 40px); box-shadow: inset 0 0 0 1px var(--k-line); }
.kn-arch::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(25,93,128,.14) 1px, transparent 1px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 25%, transparent 75%); mask-image: radial-gradient(circle at 50% 30%, #000 25%, transparent 75%);
}
.kn-arch > * { position: relative; }
.kn-arch-top { display: flex; align-items: center; }
.kn-node {
  flex: none; width: 30%; display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: #fff; border-radius: 14px; border-top: 3px solid var(--c);
  box-shadow: 0 0 0 1px var(--k-line), 0 12px 30px -20px rgba(19,52,78,.6);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.kn-node:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--k-line), var(--shadow-md); }
.kn-node small { display: block; font-size: 15px; font-weight: 700; color: var(--c); line-height: 1.3; }
.kn-node b { display: block; font-size: 18px; color: var(--k-navy); line-height: 1.4; }
.kn-node.c-p b { color: var(--k-p); }
.kn-flow { flex: 1; position: relative; height: 2px; margin: 0 10px; background: linear-gradient(90deg, rgba(0,0,0,0), var(--c)); }
.kn-flow::before {
  content: ""; position: absolute; top: 50%; left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 0 4px var(--c-bg); transform: translate(-50%, -50%);
  animation: knFlowX 2.2s linear infinite;
}
.kn-flow::after { content: ""; position: absolute; right: 0; top: 50%; width: 9px; height: 9px; border-top: 2px solid var(--c); border-right: 2px solid var(--c); transform: translateY(-50%) rotate(45deg); }
@keyframes knFlowX { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes knFlowY { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.kn-core { flex: none; position: relative; width: 176px; height: 176px; display: grid; place-items: center; }
.kn-core::before, .kn-core::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px solid rgba(25,93,128,.3); animation: knPulse 3.2s ease-out infinite; }
.kn-core::after { animation-delay: 1.6s; }
@keyframes knPulse { from { transform: scale(.82); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.kn-orb {
  position: relative; width: 140px; height: 140px; border-radius: 50%; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: radial-gradient(circle at 35% 28%, #2b84ab, #195d80 45%, #13344e);
  box-shadow: 0 0 0 8px rgba(255,255,255,.95), 0 0 0 9px #d4e3ec, 0 22px 40px -14px rgba(19,52,78,.7);
}
.kn-orb svg { width: 38px; height: 38px; animation: knFloat 4s ease-in-out infinite; }
.kn-orb b { font-size: 18px; letter-spacing: 1px; }
.kn-orb::before { content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 1.5px dashed rgba(25,93,128,.35); animation: spin 24s linear infinite; }
.kn-orb::after { content: ""; position: absolute; top: -26.5px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--k-p); box-shadow: 0 0 0 3px rgba(109,92,177,.2); transform-origin: 4.5px 96.5px; animation: spin 7s linear infinite; }
@keyframes knFloat { 50% { transform: translateY(-4px); } }

.kn-bus { position: relative; display: flex; justify-content: center; padding: 24px 0 28px; }
.kn-bus::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(var(--k-deep), rgba(25,93,128,.3)); }
.kn-bus span {
  position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 8px 22px; border-radius: 30px;
  background: #fff; color: #4b647a; font-size: 14px; box-shadow: 0 0 0 1px #dce7ee, 0 8px 20px -14px rgba(19,52,78,.5);
}
.kn-bus span::before, .kn-bus span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--k-g); animation: knBlink 1.6s ease-in-out infinite; }
.kn-bus span::after { background: var(--k-b); animation-delay: .8s; }
@keyframes knBlink { 50% { opacity: .25; transform: scale(.6); } }

.kn-sources { position: relative; list-style: none; margin: 0; padding: 26px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.kn-sources::before {
  content: ""; position: absolute; top: 0; height: 2px; border-radius: 2px; opacity: .55;
  left: calc((100% - 70px) / 12); right: calc((100% - 70px) / 12);
  background: linear-gradient(90deg, var(--k-g), var(--k-b), var(--k-p), var(--k-b), var(--k-o), var(--k-g));
}
.kn-src {
  position: relative; background: #fff; border-radius: 14px; padding: 18px 8px 16px; text-align: center;
  box-shadow: 0 0 0 1px var(--k-line), 0 10px 24px -18px rgba(19,52,78,.55);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.kn-src::before { content: ""; position: absolute; left: 50%; top: -26px; width: 2px; height: 26px; margin-left: -1px; background: var(--c); opacity: .45; }
.kn-src::after { content: ""; position: absolute; left: 50%; top: -3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--c); opacity: 0; animation: knUp 2.4s ease-in infinite; }
.kn-src:nth-child(2)::after { animation-delay: .4s; }
.kn-src:nth-child(3)::after { animation-delay: .8s; }
.kn-src:nth-child(4)::after { animation-delay: 1.2s; }
.kn-src:nth-child(5)::after { animation-delay: 1.6s; }
.kn-src:nth-child(6)::after { animation-delay: 2s; }
@keyframes knUp { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-26px); opacity: 0; } }
.kn-src:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px var(--k-line), var(--shadow-md); }
.kn-src .kn-ic { width: 46px; height: 46px; margin: 0 auto 10px; transition: transform .4s var(--ease); }
.kn-src:hover .kn-ic { transform: scale(1.1) rotate(-6deg); }
.kn-src b { display: block; font-size: 14px; color: var(--k-navy); }
.kn-src b::after { content: ""; display: block; width: 24px; height: 3px; border-radius: 2px; background: var(--c); margin: 8px auto 0; transition: width .35s var(--ease); }
.kn-src:hover b::after { width: 42px; }

/* 两大核心 */
.kn-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.kn-pillar { position: relative; overflow: hidden; background: var(--c-bg); border-radius: 16px; padding: 26px 28px; transition: transform .4s var(--ease), box-shadow .4s; }
.kn-pillar::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 150px; height: 150px; border-radius: 50%; background: var(--c); opacity: .07; transition: transform .7s var(--ease); }
.kn-pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.kn-pillar:hover::after { transform: scale(1.7); }
.kn-pillar h4 { display: flex; align-items: center; gap: 12px; color: var(--c); font-size: 20px; margin-bottom: 14px; }
.kn-pillar h4 .kn-ic { width: 42px; height: 42px; background: #fff; }
.kn-pillar ul { position: relative; list-style: none; margin: 0; padding: 0; color: var(--k-text); }
.kn-pillar li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.kn-pillar li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }

/* 区块标题 */
.kn-head { margin: clamp(56px, 7vw, 84px) 0 24px; }
.kn-head h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(22px, 2.8vw, 30px); color: var(--k-navy); margin-bottom: 6px; }
.kn-head h2::before { content: ""; flex: none; width: 6px; height: 1em; border-radius: 3px; background: linear-gradient(var(--k-deep), var(--k-g)); }
.kn-head p { color: #4b647a; margin: 0; padding-left: 18px; }

/* 使用场景 */
.kn-scenes { border-top: 1px solid var(--k-line); }
.kn-scene { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--k-line); }
.kn-scene-head { display: flex; align-items: center; gap: 16px; }
.kn-scene-head .kn-ic { width: 54px; height: 54px; transition: transform .4s var(--ease); }
.kn-scene-head .kn-ic svg { width: 26px; height: 26px; }
.kn-scene:hover .kn-scene-head .kn-ic { transform: rotate(-8deg) scale(1.08); }
.kn-scene h4 { margin: 0; font-size: 19px; color: var(--c); }
.kn-asks { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.article .kn-ask {
  position: relative; margin: 0; padding: 9px 18px 9px 38px; border-radius: 4px 16px 16px 16px;
  background: #f5f8fb; color: var(--k-text); font-size: 15px; line-height: 1.6;
  box-shadow: 0 0 0 1px #e6edf2; transition: background .3s, box-shadow .3s, transform .3s var(--ease);
}
.kn-ask::before { content: ""; position: absolute; left: 15px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; border: 2px solid var(--c); }
.kn-scene:hover .kn-ask { background: var(--c-bg); box-shadow: 0 0 0 1px transparent; }
.kn-ask:hover { transform: translateX(4px); }
.js .kn-scene .kn-ask { opacity: 0; }
.js .kn-scene.in .kn-ask { animation: knBubble .6s var(--ease) calc(var(--d, 0ms) + .25s) both; }
.js .kn-scene.in .kn-ask + .kn-ask { animation-delay: calc(var(--d, 0ms) + .45s); }
@keyframes knBubble { from { opacity: 0; translate: -14px 0; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }

/* 核心功能 */
.kn-features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.article .kn-feature { margin: 0; background: #fff; border-radius: 16px; padding: 26px 22px 24px; text-align: center; box-shadow: 0 0 0 1px var(--k-line); transition: box-shadow .4s, transform .4s var(--ease); }
.kn-feature:hover { box-shadow: 0 0 0 1px var(--k-line), var(--shadow-md); transform: translateY(-5px); }
.kn-feature h4 { color: var(--c); font-size: 20px; margin-bottom: 6px; }
.kn-feature img { width: 100%; max-width: 420px; margin: 0 auto; transition: transform .6s var(--ease); }
.kn-feature:hover img { transform: translateY(-6px) scale(1.03); }
.kn-feature figcaption { color: var(--k-text); font-size: 15px; line-height: 1.8; margin-top: 4px; }

/* 商务咨询 */
.kn-cta {
  position: relative; overflow: hidden; isolation: isolate; margin-top: clamp(48px, 6vw, 70px);
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px 36px;
  padding: 28px 32px; border-radius: 18px; color: #fff;
  background: linear-gradient(120deg, #13344e, #195d80 55%, #148c7f);
}
.kn-cta::before { content: ""; position: absolute; z-index: -1; top: -160px; right: -60px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.2), transparent 65%); animation: knGlow 9s ease-in-out infinite alternate; }
@keyframes knGlow { to { transform: translate(-300px, 120px); } }
.kn-cta h4 { color: #fff; font-size: 22px; letter-spacing: 2px; margin: 0; }
.kn-cta-items { display: grid; grid-template-columns: repeat(4, auto); justify-content: end; gap: 12px; }
.kn-cta-items a {
  display: block; padding: 10px 16px; border-radius: 12px; color: #fff; font-size: 15px; font-weight: 600; line-height: 1.5;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  transition: background .3s, transform .3s var(--ease);
}
.kn-cta-items a small { display: block; font-size: 12px; font-weight: 400; opacity: .75; }
.kn-cta-items a:hover { background: rgba(255,255,255,.18); color: #fff; transform: translateY(-3px); }

@media (max-width: 991px) {
  .kn-cta { grid-template-columns: 1fr; }
  .kn-cta-items { grid-template-columns: repeat(2, 1fr); justify-content: stretch; }
  .kn-scene { grid-template-columns: 220px 1fr; }
}
@media (max-width: 767px) {
  .kn-arch-top { flex-direction: column; align-items: stretch; }
  .kn-node { width: auto; }
  .kn-flow { flex: none; width: 2px; height: 34px; margin: 8px auto; background: linear-gradient(rgba(0,0,0,0), var(--c)); }
  .kn-flow::before { left: 50%; top: 0; animation-name: knFlowY; }
  .kn-flow::after { right: auto; left: 50%; top: auto; bottom: 0; transform: translateX(-50%) rotate(135deg); }
  .kn-core { margin: 0 auto; width: 156px; height: 156px; }
  .kn-sources { grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 0; }
  .kn-sources::before, .kn-src::before, .kn-src::after { display: none; }
  .kn-bus { padding: 20px 0 18px; }
  .kn-bus::before { bottom: 50%; }
  .kn-pillars, .kn-features { grid-template-columns: 1fr; }
  .kn-pillar { padding: 22px 20px; }
  .kn-scene { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
  .kn-cta { padding: 24px 20px; }
}
@media (max-width: 400px) {
  .kn-cta-items { grid-template-columns: 1fr; }
}

/* ==========================================================
   彩页风格组件扩展（.kn-* 组件由 Knode / YITLINK 页共用）
   ========================================================== */
.kn .c-g { --c-line: #bfe3d6; }
.kn .c-b { --c-line: #c9dbed; }
.kn .c-p { --c-line: #d8d1f1; }
.kn .c-o { --c-line: #eed8bf; }
.kn-pillars.cols-3 { grid-template-columns: repeat(3, 1fr); }
.article .kn-desc { margin: 0; color: var(--k-text); line-height: 1.85; }

/* 重点能力新升级 */
.kn-ups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kn-up {
  position: relative; overflow: hidden; background: #fff; border-radius: 16px; padding: 24px 26px 30px;
  box-shadow: 0 0 0 1px var(--k-line); transition: transform .4s var(--ease), box-shadow .4s;
}
.kn-up:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px var(--k-line), var(--shadow-md); }
.kn-up h4 { display: flex; align-items: center; gap: 10px; font-size: 21px; color: var(--c); margin-bottom: 14px; }
.kn-up h4 svg { width: 24px; height: 24px; }
.kn-up ul { list-style: none; margin: 0; padding: 0; color: var(--k-text); }
.kn-up li { padding: 7px 0; border-bottom: 1px dashed var(--k-line); }
.kn-up li:last-child { border-bottom: 0; }
.kn-up::after { content: ""; position: absolute; left: 26px; bottom: 0; height: 4px; width: 56px; border-radius: 4px 4px 0 0; background: var(--c); transition: width .6s var(--ease); }
.kn-up:hover::after { width: calc(100% - 52px); }

/* ---------- YITLINK 电子资源访问服务框架 ---------- */
.yl-frame { padding: clamp(20px, 3vw, 34px); }
.article .yl-frame-title { display: block; font-size: 17px; margin: 0 0 18px; color: var(--k-navy); }
.article .yl-frame-title::before { display: none; }
.yl-grid {
  display: grid; align-items: stretch;
  grid-template-columns: 104px 28px minmax(0, 1.7fr) minmax(0, 1.3fr) 142px 28px 80px;
}
.yl-panel { background: #e6eff6; border-radius: 14px; padding: 14px 10px; display: flex; flex-direction: column; }
.article .yl-panel h5 { text-align: center; font-size: 14px; color: var(--k-navy); margin: 0 0 12px; }
.yl-stack { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 10px; }
.yl-chip {
  display: flex; align-items: center; gap: 8px; padding: 10px 10px; border-radius: 10px; background: #fff;
  font-size: 13px; color: var(--k-navy); box-shadow: 0 6px 16px -12px rgba(19,52,78,.6);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.yl-chip:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(19,52,78,.7); }
.yl-chip svg { flex: none; width: 18px; height: 18px; color: var(--k-deep); }
.yl-users .yl-chip { flex-direction: column; gap: 6px; padding: 12px 6px; }
.yl-users .yl-chip svg { width: 22px; height: 22px; color: var(--k-b); }

.yl-arrow { position: relative; align-self: center; height: 2px; margin: 0 4px; background: linear-gradient(90deg, rgba(0,0,0,0), var(--c)); }
.yl-arrow::before, .yl-wire::before {
  content: ""; position: absolute; top: 50%; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--c); transform: translate(-50%, -50%); animation: knFlowX 2s linear infinite;
}
.yl-arrow::after, .yl-wire::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 8px; height: 8px;
  border-top: 2px solid var(--c); border-right: 2px solid var(--c); transform: translateY(-50%) rotate(45deg);
}

.yl-gw { display: flex; background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--k-line), 0 14px 30px -22px rgba(19,52,78,.6); overflow: hidden; }
.yl-gw-core {
  position: relative; overflow: hidden; flex: 0 0 38%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 8px; color: #fff; text-align: center; background: linear-gradient(170deg, #1f6a8f, #13445f);
}
.yl-gw-core::before { /* 扫描光 */
  content: ""; position: absolute; left: -60%; top: 0; bottom: 0; width: 50%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); transform: skewX(-18deg);
  animation: ylScan 4s ease-in-out infinite;
}
@keyframes ylScan { 0%, 30% { left: -60%; } 70%, 100% { left: 120%; } }
.yl-gw-core > svg { width: 46px; height: 46px; animation: knFloat 4s ease-in-out infinite; }
.yl-gw-core b { font-size: 16px; line-height: 1.45; letter-spacing: 1px; }
.yl-srv { display: flex; flex-direction: column; gap: 6px; width: 62%; }
.yl-srv i { position: relative; height: 10px; border-radius: 4px; background: rgba(255,255,255,.18); }
.yl-srv i::after { content: ""; position: absolute; right: 6px; top: 3px; width: 4px; height: 4px; border-radius: 50%; background: #6fe0c4; animation: knBlink 1.4s ease-in-out infinite; }
.yl-srv i:nth-child(2)::after { animation-delay: .45s; }
.yl-srv i:nth-child(3)::after { animation-delay: .9s; }
.yl-caps, .yl-lines { list-style: none; margin: 0; padding: 14px 0; display: grid; grid-template-rows: repeat(3, 1fr); gap: 12px; }
.yl-caps { flex: 1; padding: 14px 12px; background: #f7fafc; }
.yl-caps li { display: flex; align-items: center; gap: 10px; }
.yl-caps .kn-ic { width: 34px; height: 34px; }
.yl-caps .kn-ic svg { width: 18px; height: 18px; }
.yl-caps b, .yl-lines b { display: block; font-size: 14px; color: var(--c); line-height: 1.35; }
.yl-caps small, .yl-lines small { display: block; font-size: 12px; color: #61778b; line-height: 1.45; }
.yl-lines { margin: 0 28px; }
.yl-lines li {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px;
  background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-line); transition: transform .3s var(--ease), box-shadow .3s;
}
.yl-lines li:hover { transform: translateX(3px); box-shadow: inset 0 0 0 1px var(--c), 0 10px 20px -14px rgba(19,52,78,.6); }
.yl-line-ic { flex: none; color: var(--c); display: grid; place-items: center; }
.yl-line-ic svg { width: 22px; height: 22px; }
.yl-wire { position: absolute; top: 50%; width: 28px; height: 2px; background: var(--c); opacity: .85; }
.yl-wire.in { left: -28px; }
.yl-wire.out { right: -28px; }
.yl-lines li:nth-child(2) .yl-wire::before { animation-delay: .5s; }
.yl-lines li:nth-child(3) .yl-wire::before { animation-delay: 1s; }
.yl-res .yl-chip { padding: 9px 8px; gap: 7px; white-space: nowrap; }
.yl-v { display: none; }

.yl-done { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.yl-done span {
  position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: #dff1ea; color: var(--k-g);
}
.yl-done span::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--k-g); animation: knPulse 2.4s ease-out infinite; }
.yl-done svg { width: 24px; height: 24px; }
.yl-done b { font-size: 14px; line-height: 1.5; color: var(--k-navy); }

.yl-perks { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--k-line); display: grid; grid-template-columns: repeat(4, 1fr); }
.yl-perks li { display: flex; align-items: center; gap: 12px; padding: 0 16px; }
.yl-perks li + li { border-left: 1px solid var(--k-line); }
.yl-perks .kn-ic { width: 42px; height: 42px; transition: transform .4s var(--ease); }
.yl-perks li:hover .kn-ic { transform: scale(1.1) rotate(-6deg); }
.yl-perks .kn-ic svg { width: 20px; height: 20px; }
.yl-perks b { display: block; font-size: 15px; color: var(--c); }
.yl-perks small { display: block; font-size: 12.5px; color: #61778b; }

@media (max-width: 991px) {
  .kn-ups, .kn-pillars.cols-3 { grid-template-columns: 1fr 1fr; }
  .kn-ups > :last-child, .kn-pillars.cols-3 > :last-child { grid-column: 1 / -1; }
  /* 框架图改为纵向流程 */
  .yl-grid { display: flex; flex-direction: column; align-items: stretch; }
  .yl-panel { padding: 14px; }
  .yl-stack { flex-direction: row; }
  .yl-stack > * { flex: 1; }
  .yl-users .yl-chip { flex-direction: row; justify-content: center; }
  .yl-res .yl-chip { justify-content: center; }
  .yl-arrow { align-self: center; width: 2px; height: 30px; margin: 8px 0; background: linear-gradient(rgba(0,0,0,0), var(--c)); }
  .yl-arrow::before { left: 50%; top: 0; animation-name: knFlowY; }
  .yl-arrow::after { right: auto; left: 50%; top: auto; bottom: 0; transform: translateX(-50%) rotate(135deg); }
  .yl-gw-core { flex-basis: 34%; }
  .yl-v { display: block; }
  .yl-lines { margin: 0; padding: 0; grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
  .yl-wire { display: none; }
  .yl-lines li { flex-direction: column; text-align: center; }
  .yl-done { flex-direction: row; margin-top: 2px; }
  .yl-perks { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .yl-perks li:nth-child(3) { border-left: 0; }
}
@media (max-width: 767px) {
  .kn-ups, .kn-pillars.cols-3 { grid-template-columns: 1fr; }
  .yl-gw { flex-direction: column; }
  .yl-gw-core { flex-direction: row; justify-content: center; padding: 16px; }
  .yl-gw-core br { display: none; }
  .yl-srv { display: none; }
  .yl-gw-core > svg { width: 34px; height: 34px; }
  .yl-lines { grid-template-columns: 1fr; gap: 10px; }
  .yl-lines li { flex-direction: row; text-align: left; }
  .yl-stack { flex-wrap: wrap; }
  .yl-users .yl-chip { flex-direction: column; padding: 10px 4px; }
  .yl-res .yl-stack > * { flex: 1 1 calc(50% - 5px); }
  .yl-perks li { padding: 0 10px; }
}
