/* ============================================================
   KIRRI 清源科润官网 · 设计稿严格还原
   设计令牌与画布 1:1 对应
   ============================================================ */
:root {
  /* 配色（与设计稿一致） */
  --bg: #030B07;            /* 页面底色 */
  --bg-alt: #05120C;        /* 交替版块底色 */
  --bg-footer: #04100A;     /* 页脚底色 */
  --card: #0B1F15;          /* 卡片底 */
  --input: #071711;         /* 输入框 / 标签底 */
  --icon-bg: #0E2A1C;       /* 图标底 */
  --stroke: #16352A;        /* 卡片描边 */
  --stroke-soft: #1E4030;   /* 输入框/徽章描边 */
  --stroke-cta: #2A5A44;    /* 次按钮描边 */
  --accent: #34D399;        /* 品牌绿 */
  --accent-soft: #8FE9C4;   /* 浅绿文字 */
  --heading: #F2FBF6;       /* 标题 */
  --body-strong: #C9E2D6;   /* 正文（强） */
  --body: #9FBFAD;          /* 正文 */
  --muted: #5F8271;         /* 弱化文字 */
  --btn-text: #04120B;      /* 主按钮文字 */

  /* 圆角 */
  --r-sm: 12px; --r-md: 14px; --r-lg: 16px; --r-xl: 20px;
  --r-2xl: 24px; --r-3xl: 28px; --r-pill: 99px;

  /* 布局（1920 设计稿：左右留白 240） */
  --container: 1440px;
  --section-pad: 110px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--body);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (min-width: 1520px) { .container { padding: 0; } }

/* ---------- 顶部导航（padding 28·0，gap 44） ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { background: rgba(3, 11, 7, .92); backdrop-filter: blur(12px); border-bottom-color: var(--stroke); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 96px; /* 28*2 padding + 40 logo */
}
.logo-group { display: flex; align-items: center; gap: 14px; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-text { display: flex; flex-direction: column; gap: 2px; }
.logo-en {
  font-family: Inter, "Noto Sans SC", sans-serif; font-weight: 800;
  font-size: 24px; letter-spacing: 2px; color: #FFFFFF; line-height: 1.1;
}
.logo-cn { font-size: 12px; letter-spacing: 4px; color: #8FB8A5; line-height: 1.2; }
.nav-links { display: flex; align-items: center; gap: 44px; }
.nav-links a { font-size: 16px; color: var(--body-strong); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r-pill); border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-ghost-mail {
  padding: 10px 22px; background: var(--card);
  border: 1px solid var(--stroke-soft); color: var(--accent); font-size: 14px; font-weight: 500;
}
.btn-ghost-mail:hover { background: var(--icon-bg); }
.btn-primary {
  padding: 12px 28px; background: var(--accent); color: var(--btn-text);
  font-size: 14px; font-weight: 600;
}
.btn-primary:hover { box-shadow: 0 0 30px rgba(52, 211, 153, .35); transform: translateY(-1px); }

/* ---------- Hero（padding 90·0·100，光晕） ---------- */
.hero { position: relative; overflow: hidden; padding: 90px 0 100px; }
.hero-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.glow-1 { width: 1400px; height: 800px; left: -300px; top: -250px;
  background: radial-gradient(circle, rgba(52,211,153,.30) 0%, rgba(52,211,153,0) 70%); }
.glow-2 { width: 1100px; height: 700px; right: -180px; top: 60px;
  background: radial-gradient(circle, rgba(18,222,196,.20) 0%, rgba(18,222,196,0) 70%); }
.glow-3 { width: 1600px; height: 600px; left: 200px; bottom: -100px;
  background: radial-gradient(circle, rgba(13,89,56,.35) 0%, rgba(13,89,56,0) 70%); }

/* Hero 流动数据网格 */
.hero-grid {
  position: absolute; inset: -80px; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(52, 211, 153, .075) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(52, 211, 153, .075) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, rgba(0, 0, 0, .45) 60%, transparent 88%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, rgba(0, 0, 0, .45) 60%, transparent 88%);
  animation: gridDrift 22s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 64px 64px, 64px 64px; }
}

/* Hero 数据流光束 */
.hero-streams { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-streams i {
  position: absolute; top: 0; width: 1px; height: 100%;
  background-image: linear-gradient(to bottom, rgba(52, 211, 153, 0) 0%, rgba(52, 211, 153, .55) 50%, rgba(52, 211, 153, 0) 100%);
  background-size: 100% 240px; background-repeat: repeat-y;
  opacity: .75;
  animation: streamFlow 12s linear infinite;
}
@keyframes streamFlow {
  from { background-position-y: 0; }
  to   { background-position-y: 240px; }
}
.hero-streams i:nth-child(1) { left: 14%; animation-duration: 13s; }
.hero-streams i:nth-child(2) { left: 33%; animation-duration: 9s;  animation-delay: -3s; }
.hero-streams i:nth-child(3) { left: 62%; animation-duration: 16s; animation-delay: -7s; }
.hero-streams i:nth-child(4) { left: 81%; animation-duration: 11s; animation-delay: -5s; }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 24px;
  border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--stroke-soft);
  font-size: 14px; color: var(--accent-soft);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 12px rgba(52,211,153,.8); }
.hero h1 {
  font-size: 92px; font-weight: 900; letter-spacing: 4px; line-height: 1.25;
  color: var(--heading);
}
.hero-sub {
  font-size: 20px; line-height: 34px; color: var(--body);
  max-width: 900px; white-space: pre-line;
}
.hero-cta { display: flex; gap: 20px; margin-top: 4px; }
.btn-hero {
  padding: 18px 44px; font-size: 17px; font-weight: 700;
}
.btn-hero.main {
  background: var(--accent); color: var(--btn-text);
  box-shadow: 0 0 40px rgba(52, 211, 153, .35);
}
.btn-hero.main:hover { box-shadow: 0 0 60px rgba(52, 211, 153, .5); transform: translateY(-2px); }
.btn-hero.alt { background: var(--card); border: 1px solid var(--stroke-cta); color: var(--body-strong); font-weight: 500; }
.btn-hero.alt:hover { border-color: var(--accent); color: var(--accent); }
.hero-img {
  width: 100%; height: 420px; object-fit: cover;
  border-radius: var(--r-2xl); border: 1px solid var(--stroke-soft);
}

/* ---------- 数据条（4卡，radius 20） ---------- */
.stats { padding: 10px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  background: var(--card); border: 1px solid var(--stroke);
  border-radius: var(--r-xl); padding: 30px 36px;
  transition: border-color .25s, transform .25s;
}
.stat-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.stat-num {
  font-family: Inter, "Noto Sans SC", sans-serif; font-weight: 800;
  font-size: 46px; line-height: 1.15; color: var(--accent);
}
.stat-label { font-size: 15px; color: var(--body); }

/* ---------- 通用版块头部 ---------- */
.section { padding: var(--section-pad) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; }
.section-head.center { align-items: center; text-align: center; }
.eyebrow {
  font-family: Inter, "Noto Sans SC", sans-serif; font-weight: 600;
  font-size: 14px; letter-spacing: 6px; color: var(--accent);
}
.section-title { font-size: 48px; font-weight: 800; color: var(--heading); line-height: 1.3; }
.section-desc { font-size: 17px; color: var(--body); }

/* ---------- 关于我们（左文右图，gap 64） ---------- */
.about-row { display: flex; gap: 64px; align-items: stretch; }
.about-left { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.about-left p { font-size: 17px; line-height: 32px; }
.about-left p.strong { color: var(--body-strong); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  padding: 10px 20px; border-radius: var(--r-pill);
  background: var(--card); border: 1px solid var(--stroke-soft);
  font-size: 13px; color: var(--accent-soft); white-space: nowrap;
}
.about-img {
  width: 520px; height: 400px; object-fit: cover; flex: none;
  border-radius: var(--r-2xl); border: 1px solid var(--stroke-soft);
}

/* ---------- 产品体系（2×2 网格，gap 24） ---------- */
.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.prod-card {
  background: var(--card); border: 1px solid var(--stroke); border-radius: var(--r-2xl);
  padding: 40px; display: flex; flex-direction: column; gap: 20px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .3);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.prod-card:hover { border-color: var(--accent); transform: translateY(-4px);
  box-shadow: 0 16px 44px -10px rgba(52, 211, 153, .12); }
.prod-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--icon-bg); display: flex; align-items: center; justify-content: center;
}
.prod-icon svg { width: 28px; height: 28px; }
.prod-title { font-size: 26px; font-weight: 700; color: var(--heading); }
.prod-desc { font-size: 15px; line-height: 28px; color: var(--body); flex: 1; }
.prod-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 8px 18px; border-radius: var(--r-pill);
  background: var(--input); border: 1px solid var(--stroke-soft);
  font-size: 13px; color: var(--accent-soft);
}
.prod-link {
  margin-top: 4px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--accent); cursor: pointer;
}
.prod-link .arrow { transition: transform .2s; }
.prod-card:hover .prod-link .arrow { transform: translateX(4px); }

/* ---------- 解决方案（两卡，gap 24） ---------- */
.sol-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sol-card {
  background: var(--card); border: 1px solid var(--stroke); border-radius: var(--r-2xl);
  padding: 32px 32px 36px; display: flex; flex-direction: column; gap: 24px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .3);
  transition: border-color .25s, transform .25s;
}
.sol-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.sol-img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--r-lg); }
.sol-title { font-size: 24px; font-weight: 700; color: var(--heading); }
.sol-points { font-size: 15px; line-height: 30px; color: var(--body); white-space: pre-line; }

/* ---------- 新闻动态（自动轮播） ---------- */
.news-carousel { position: relative; overflow: hidden; }
.news-track {
  --per-view: 3;
  display: flex; gap: 24px;
  transition: transform .75s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
  touch-action: pan-y;
}
.news-track .news-card {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * 24px) / var(--per-view));
  user-select: none;
}
.news-track .news-card, .news-track img { -webkit-user-drag: none; user-drag: none; }
.news-arrow {
  position: absolute; top: 50%; z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; padding: 0;
  background: rgba(11, 31, 21, .86); border: 1px solid var(--stroke-soft);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; transform: translateY(-50%) scale(.92);
  transition: opacity .3s, transform .3s, border-color .25s, box-shadow .25s;
}
.news-arrow.prev { left: 14px; }
.news-arrow.next { right: 14px; }
.news-carousel:hover .news-arrow { opacity: 1; transform: translateY(-50%) scale(1); }
.news-arrow:hover { border-color: var(--accent); box-shadow: 0 0 24px rgba(52, 211, 153, .3); }
.news-arrow:active { transform: translateY(-50%) scale(.94); }
.news-dots { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 38px; }
.news-dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--r-pill);
  background: #1E4030; cursor: pointer;
  transition: width .35s cubic-bezier(.22, 1, .36, 1), background .3s;
}
.news-dot:hover { background: #2A5A44; }
.news-dot.active { width: 26px; background: var(--accent); }
.news-card {
  background: var(--card); border: 1px solid var(--stroke); border-radius: var(--r-2xl);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s;
  cursor: pointer;
}
.news-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.news-thumb { width: 100%; height: 200px; object-fit: cover; }
.news-body { padding: 26px 30px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 14px; }
.news-tag {
  padding: 5px 14px; border-radius: var(--r-pill);
  background: var(--input); border: 1px solid var(--stroke-soft);
  font-size: 12px; color: var(--accent);
}
.news-date { font-family: Inter, sans-serif; font-size: 13px; color: var(--muted); letter-spacing: 1px; }
.news-title { font-size: 19px; font-weight: 700; color: var(--heading); line-height: 1.5; }
.news-excerpt { font-size: 14px; line-height: 26px; color: var(--body); flex: 1; }
.news-more { font-size: 13px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 企业邮箱 / 在线反馈（大卡 radius 28） ---------- */
.portal-card {
  background: var(--card); border: 1px solid var(--stroke-soft); border-radius: var(--r-3xl);
  padding: 48px; display: flex; gap: 64px; align-items: center;
  box-shadow: 0 20px 60px -10px rgba(52, 211, 153, .08);
}
.portal-card.plain { border-color: var(--stroke); box-shadow: none; margin-top: 55px; }
.portal-left { flex: 1; display: flex; flex-direction: column; gap: 18px; }
.portal-icon {
  width: 60px; height: 60px; border-radius: var(--r-lg);
  background: var(--icon-bg); display: flex; align-items: center; justify-content: center;
}
.portal-icon svg { width: 30px; height: 30px; }
.portal-title { font-size: 30px; font-weight: 700; color: var(--heading); }
.portal-desc { font-size: 15px; line-height: 28px; color: var(--body); }
.portal-hint { font-size: 14px; font-weight: 600; color: var(--accent); }
.portal-form { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.field-input {
  width: 100%; padding: 16px 22px; border-radius: var(--r-sm);
  background: var(--input); border: 1px solid var(--stroke-soft);
  color: var(--heading); font-size: 15px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field-input::placeholder { color: var(--muted); }
.field-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(52, 211, 153, .12); }
.btn-block {
  width: 100%; padding: 16px 0; border-radius: var(--r-pill);
  background: var(--accent); color: var(--btn-text);
  font-size: 16px; font-weight: 700; border: none; cursor: pointer;
  transition: box-shadow .2s, transform .2s;
}
.btn-block:hover { box-shadow: 0 0 30px rgba(52, 211, 153, .35); transform: translateY(-1px); }
.hotline-box {
  display: flex; flex-direction: column; gap: 6px; padding: 20px 24px;
  border-radius: var(--r-lg); background: var(--input); border: 1px solid var(--stroke-soft);
}
.hotline-label { font-size: 13px; color: var(--muted); }
.hotline-num { font-size: 22px; font-weight: 700; color: var(--accent); }
.form-row { display: flex; gap: 16px; }
.form-field { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 13px; color: var(--body); }
.field-input.area { min-height: 120px; resize: vertical; line-height: 26px; }
.form-ok {
  display: none; padding: 14px 20px; border-radius: var(--r-sm);
  background: var(--icon-bg); border: 1px solid var(--accent);
  color: var(--accent); font-size: 14px; font-weight: 600;
}
.form-ok.show { display: block; }

/* 企业邮箱账号输入（固定域名后缀） */
.mail-acct {
  display: flex; align-items: center; gap: 10px;
  background: var(--input); border: 1px solid var(--stroke-soft);
  border-radius: var(--r-sm); padding: 4px 22px 4px 0;
  transition: border-color .2s, box-shadow .2s;
}
.mail-acct:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(52, 211, 153, .12); }
.mail-acct-input {
  border: none; background: transparent; box-shadow: none; flex: 1;
  padding: 12px 22px;
}
.mail-acct-input:focus { box-shadow: none; }
.mail-domain { font-size: 15px; color: var(--accent-soft); white-space: nowrap; letter-spacing: .5px; }
.mail-note { font-size: 12px; line-height: 20px; color: var(--muted); }
a.btn-block { text-decoration: none; display: block; text-align: center; }

/* ---------- 联系我们（4卡 radius 20） ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  background: var(--card); border: 1px solid var(--stroke); border-radius: var(--r-xl);
  padding: 32px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .25s;
}
.contact-card:hover { border-color: var(--accent); }
.contact-card.wide { grid-column: span 2; }
.contact-card svg { width: 24px; height: 24px; }
.contact-label { font-size: 13px; color: var(--muted); }
.contact-value { font-size: 17px; font-weight: 600; color: var(--heading); line-height: 28px; white-space: pre-line; }

/* ---------- 页脚 ---------- */
.footer { background: var(--bg-footer); border-top: 1px solid var(--stroke); padding: 70px 0 0; }
.footer-main { display: flex; gap: 60px; align-items: flex-start; }
.footer-brand { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo svg { width: 32px; height: 32px; }
.footer-logo span { font-size: 20px; font-weight: 800; color: var(--heading); letter-spacing: 1px; }
.footer-slogan { font-size: 15px; letter-spacing: 3px; color: var(--accent-soft); }
.footer-values { font-size: 13px; letter-spacing: 2px; color: var(--muted); }
.footer-links { display: flex; flex-direction: column; gap: 14px; width: 180px; }
.footer-links .t { font-size: 14px; font-weight: 600; color: var(--heading); }
.footer-links a { font-size: 14px; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-watermark {
  margin-left: auto; font-family: Inter, sans-serif; font-weight: 900;
  font-size: 96px; letter-spacing: 8px; line-height: .9; color: var(--icon-bg);
  user-select: none;
}
.footer-bottom {
  margin-top: 40px; padding: 24px 0; border-top: 1px solid var(--stroke);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom span { font-size: 13px; color: var(--muted); }
.footer-bottom .url { color: var(--accent-soft); }

/* ---------- 产品详情页 ---------- */
.crumb { padding: 28px 0 0; font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.crumb a:hover { color: var(--accent); }
.pd-hero { padding: 40px 0 60px; }
.pd-hero-grid { display: flex; gap: 64px; align-items: stretch; }
.pd-hero-info { flex: 1; display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.pd-hero-img {
  width: 640px; height: 420px; object-fit: cover; flex: none;
  border-radius: var(--r-2xl); border: 1px solid var(--stroke-soft);
}
.pd-title { font-size: 52px; font-weight: 800; color: var(--heading); line-height: 1.3; }
.pd-en { font-family: Inter, sans-serif; font-size: 15px; letter-spacing: 5px; color: var(--muted); font-weight: 600; }
.pd-desc { font-size: 17px; line-height: 32px; color: var(--body); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery img {
  width: 100%; height: 220px; object-fit: cover; border-radius: var(--r-lg);
  border: 1px solid var(--stroke); transition: border-color .25s, transform .25s;
}
.gallery img:hover { border-color: var(--accent); transform: translateY(-3px); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.feature-item {
  display: flex; gap: 16px; padding: 26px 30px;
  background: var(--card); border: 1px solid var(--stroke); border-radius: var(--r-xl);
}
.feature-item .fi-icon {
  width: 44px; height: 44px; flex: none; border-radius: var(--r-md);
  background: var(--icon-bg); display: flex; align-items: center; justify-content: center;
}
.feature-item .fi-icon svg { width: 22px; height: 22px; }
.feature-item h4 { font-size: 17px; font-weight: 700; color: var(--heading); margin-bottom: 6px; }
.feature-item p { font-size: 14px; line-height: 26px; color: var(--body); }
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--stroke); border-radius: var(--r-xl); overflow: hidden; }
.spec-table th {
  background: var(--icon-bg); color: var(--heading); font-size: 15px; font-weight: 600;
  padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--stroke);
}
.spec-table td {
  padding: 16px 24px; font-size: 15px; color: var(--body);
  border-bottom: 1px solid var(--stroke);
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child { color: var(--accent-soft); font-weight: 600; }
.spec-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card {
  background: var(--card); border: 1px solid var(--stroke); border-radius: var(--r-2xl);
  overflow: hidden; transition: border-color .25s, transform .25s; cursor: pointer;
}
.related-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.related-card img { width: 100%; height: 180px; object-fit: cover; }
.related-card .rc-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 8px; }
.related-card h4 { font-size: 18px; font-weight: 700; color: var(--heading); }
.related-card p { font-size: 13px; color: var(--body); line-height: 24px; }
.cta-banner {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--stroke-soft); border-radius: var(--r-3xl);
  padding: 56px 64px; display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 85% 50%, rgba(52, 211, 153, .14), transparent 70%);
}
.cta-banner h3 { position: relative; font-size: 32px; font-weight: 800; color: var(--heading); }
.cta-banner p { position: relative; margin-top: 10px; font-size: 16px; color: var(--body); }
.cta-banner .btn-hero.main { position: relative; flex: none; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   动效层（不改变设计稿的静态视觉，只加运动）
   ============================================================ */

/* 顶部滚动进度条 */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 300;
  background: linear-gradient(90deg, #34D399, #12DEC4);
  box-shadow: 0 0 12px rgba(52, 211, 153, .7);
  transition: width .08s linear;
}

/* Hero 极光缓慢漂移 */
@keyframes glowFloat1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(60px, 40px, 0) scale(1.08); }
}
@keyframes glowFloat2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-70px, 30px, 0) scale(1.12); }
}
@keyframes glowFloat3 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-40px, -30px, 0) scale(1.06); }
}
.glow-1 { animation: glowFloat1 26s ease-in-out infinite; }
.glow-2 { animation: glowFloat2 32s ease-in-out infinite; }
.glow-3 { animation: glowFloat3 38s ease-in-out infinite; }

/* Hero 内容入场 */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
.hero-inner > * { animation: riseIn .9s cubic-bezier(.22, 1, .36, 1) both; }
.hero-inner > *:nth-child(1) { animation-delay: .05s; }
.hero-inner > *:nth-child(2) { animation-delay: .15s; }
.hero-inner > *:nth-child(3) { animation-delay: .28s; }
.hero-inner > *:nth-child(4) { animation-delay: .40s; }
.hero-inner > *:nth-child(5) { animation-delay: .52s; }

/* 主标题逐字浮现 */
.hero h1 .ch { display: inline-block; animation: riseIn .8s cubic-bezier(.22, 1, .36, 1) both; }

/* Hero 大图缓慢推近 */
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
.hero-img { animation: kenburns 20s ease-in-out infinite alternate; }

/* 徽章光点呼吸 */
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 8px rgba(52, 211, 153, .6); opacity: .85; }
  50%      { box-shadow: 0 0 18px rgba(52, 211, 153, 1); opacity: 1; }
}
.hero-badge .dot { animation: pulseDot 2.4s ease-in-out infinite; }

/* 主按钮光晕呼吸 */
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 40px rgba(52, 211, 153, .35); }
  50%      { box-shadow: 0 0 62px rgba(52, 211, 153, .55); }
}
.btn-hero.main { animation: ctaGlow 4.5s ease-in-out infinite; }

/* 导航链接下划线生长 */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px;
  border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* 图片悬停放大 */
.news-thumb, .sol-img, .related-card img, .gallery img {
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), border-color .25s;
}
.news-card:hover .news-thumb { transform: scale(1.06); }
.related-card:hover img { transform: scale(1.06); }
.gallery img:hover { transform: scale(1.04) translateY(-3px); }
.sol-img-wrap { overflow: hidden; border-radius: var(--r-lg); }
.sol-img-wrap .sol-img { height: 260px; border-radius: 0; }
.sol-card:hover .sol-img { transform: scale(1.06); }

/* 产品卡图标发光 */
.prod-icon { transition: box-shadow .35s, transform .35s; }
.prod-card:hover .prod-icon {
  box-shadow: 0 0 26px rgba(52, 211, 153, .35);
  transform: translateY(-2px);
}

/* 回到顶部 */
.to-top {
  position: fixed; right: 32px; bottom: 32px; width: 48px; height: 48px; z-index: 150;
  border-radius: 50%; background: var(--card); border: 1px solid var(--stroke-soft);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .3s, transform .3s, border-color .3s, box-shadow .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { border-color: var(--accent); box-shadow: 0 0 24px rgba(52, 211, 153, .3); }

/* 尊重系统的减少动效设置 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 1200px) {
  .hero h1 { font-size: 64px; }
  .section-title { font-size: 38px; }
  .about-row, .pd-hero-grid, .portal-card { flex-direction: column; }
  .about-img, .pd-hero-img { width: 100%; }
  .prod-grid, .sol-row, .related-grid, .feature-list { grid-template-columns: 1fr; }
  .news-track { --per-view: 2; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card.wide { grid-column: span 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .footer-watermark { display: none; }
  .form-row { flex-direction: column; }
  .cta-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .news-track { --per-view: 1; }
  .hero-streams { display: none; }
  .hero h1 { font-size: 40px; letter-spacing: 2px; }
  .hero-sub { font-size: 16px; line-height: 28px; }
  .hero-img { height: 240px; }
  .news-arrow { width: 38px; height: 38px; }
  .news-arrow.prev { left: 8px; }
  .news-arrow.next { right: 8px; }
}

/* 触屏设备无 hover，箭头常驻 */
@media (hover: none) {
  .news-arrow { opacity: 1; transform: translateY(-50%) scale(1); }
}
