/* ============================================================
   山竹数字 · 官网样式
   品牌体系：竹叶绿 + 墨黑 + 纸白，几何竹节元素呼应 LOGO
   ============================================================ */

:root {
  --green: #06C763;
  --green-deep: #04A352;
  --green-soft: #E7F9EF;
  --lime: #B8F56D;
  --ink: #07130C;
  --ink-2: #0C1B12;
  --paper: #F6F9F4;
  --paper-warm: #FCFEFB;
  --text: #16241B;
  --text-mute: #5C6B61;
  --line: rgba(10, 30, 20, 0.10);
  --line-light: rgba(255, 255, 255, 0.12);
  --white: #FFFFFF;

  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;

  --radius: 18px;
  --radius-lg: 26px;
  --container: 1180px;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

/* ============ 通用按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  will-change: transform;
}
.btn--primary {
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 10px 30px -8px rgba(6, 199, 99, .55);
}
.btn--primary:hover {
  background: #12D872;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -8px rgba(6, 199, 99, .65);
}
.btn--primary svg { transition: transform .25s ease; }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost {
  border: 1px solid rgba(255, 255, 255, .35);
  color: var(--white);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }

/* ============ 顶部导航 ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(252, 254, 251, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(7, 19, 12, .25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { position: relative; display: inline-flex; }
.brand-logo {
  height: 40px;
  width: auto;
  transition: opacity .3s ease;
}
/* 深色首屏显示白色 LOGO，滚动后（白底导航）显示彩色 LOGO */
.brand-logo--color {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.site-header.is-scrolled .brand-logo--light,
.site-header.is-nav-open .brand-logo--light { opacity: 0; }
.site-header.is-scrolled .brand-logo--color,
.site-header.is-nav-open .brand-logo--color { opacity: 1; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  position: relative;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  border-radius: 999px;
  transition: color .25s ease, background .25s ease;
}
.site-header.is-scrolled .nav-link { color: var(--text); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: translateX(-50%);
  transition: width .25s ease;
}
.nav-link:hover { color: var(--green); }
.nav-link:hover::after { width: 22px; }

/* 当前所在页面的菜单高亮 */
.nav-link.is-active { color: var(--green); font-weight: 700; }
.nav-link.is-active::after { width: 22px; }
.site-header.is-scrolled .nav-link.is-active { color: var(--green-deep); }
.site-header.is-scrolled .nav-link.is-active::after { background: var(--green-deep); }

/* ---- 下拉抽屉（山竹AI / 解决方案） ---- */
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; }
.nav-caret {
  width: 12px; height: 12px;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.nav-home-icon {
  width: 15px; height: 15px;
  flex-shrink: 0;
}
.nav-item.is-open .nav-caret { transform: rotate(180deg); }

.nav-drawer {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(252, 254, 251, .98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(7, 19, 12, .35);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index: 120;
}
/* 悬停桥接，避免鼠标移动到抽屉时断开 */
.nav-drawer::before {
  content: "";
  position: absolute;
  top: -16px; left: 0; right: 0;
  height: 16px;
}
.nav-item.is-open .nav-drawer {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-drawer--product { width: 380px; max-width: 86vw; }
.nav-drawer--menu { width: 300px; max-width: 86vw; padding: 8px; }

/* 抽屉内产品卡片 */
.drawer-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  transition: background .2s ease;
}
.drawer-card:hover { background: var(--green-soft); }
.drawer-card-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  color: var(--ink);
  flex-shrink: 0;
}
.drawer-card-icon svg { width: 24px; height: 24px; }
.drawer-card-body { flex: 1; min-width: 0; }
.drawer-card-body b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
}
.drawer-card-body small {
  font-size: 11px;
  font-weight: 700;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.drawer-card-body p {
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 4px;
  line-height: 1.55;
}
.drawer-card-arrow {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.drawer-card-arrow svg { width: 15px; height: 15px; }
.drawer-card:hover .drawer-card-arrow {
  background: var(--green);
  color: var(--ink);
  transform: translateX(3px);
}

/* 抽屉内菜单列表 */
.nav-drawer--menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  transition: background .2s ease, color .2s ease;
}
.nav-drawer--menu a:hover { background: var(--green-soft); color: var(--green-deep); }
.nav-drawer--menu a i {
  font-style: normal;
  color: var(--green-deep);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity .2s ease, transform .2s ease;
}
.nav-drawer--menu a i svg { width: 15px; height: 15px; }
.nav-drawer--menu a:hover i { opacity: 1; transform: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: calc(var(--header-h) + 70px) 0 0;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
}
.hero-glow--1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(6, 199, 99, .35), transparent 65%);
  top: -180px; right: -120px;
}
.hero-glow--2 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(184, 245, 109, .18), transparent 65%);
  bottom: -220px; left: -140px;
}
.hero-blocks { position: absolute; inset: 0; }
.blk {
  position: absolute;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(6, 199, 99, .9), rgba(4, 163, 82, .6));
  opacity: .14;
  animation: blkFloat 9s ease-in-out infinite;
}
.blk-1 { width: 90px; height: 90px; top: 16%; left: 6%; border-radius: 30px 10px 10px 10px; }
.blk-2 { width: 64px; height: 120px; top: 42%; left: 12%; animation-delay: -2s; }
.blk-3 { width: 110px; height: 64px; bottom: 18%; right: 8%; border-radius: 10px 30px 10px 10px; animation-delay: -4s; }
.blk-4 { width: 70px; height: 70px; top: 22%; right: 38%; border-radius: 50%; opacity: .08; animation-delay: -6s; }
@keyframes blkFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(6deg); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 80px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .28em;
  color: var(--green);
  padding: 8px 18px;
  border: 1px solid rgba(6, 199, 99, .35);
  border-radius: 999px;
  background: rgba(6, 199, 99, .08);
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(6, 199, 99, .2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(6, 199, 99, .22); }
  50% { box-shadow: 0 0 0 7px rgba(6, 199, 99, .06); }
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: .01em;
  margin-bottom: 26px;
}
.hero-title em {
  font-style: normal;
  color: var(--green);
  position: relative;
  white-space: nowrap;
}
.hero-title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 12px;
  background: rgba(6, 199, 99, .18);
  z-index: -1;
  border-radius: 4px;
}
.hero-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, .72);
  max-width: 560px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 52px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 40px;
  justify-content: start;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-size: 30px;
  font-weight: 900;
  color: var(--green);
  font-family: var(--font-serif);
  line-height: 1.2;
}
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, .55); letter-spacing: .05em; }

/* ---- 手机 mock ---- */
.hero-visual { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 330px;
  background: linear-gradient(165deg, #102218, #0A160F);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 38px;
  padding: 18px 16px 16px;
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, .8),
    0 0 0 8px rgba(255, 255, 255, .04),
    0 0 60px -20px rgba(6, 199, 99, .35);
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 20px;
  background: #050D08;
  border-radius: 999px;
}
.phone-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.phone-avatar {
  width: 42px; height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  color: var(--ink);
  flex-shrink: 0;
}
.phone-title { font-weight: 700; font-size: 15px; }
.phone-sub { font-size: 12px; color: rgba(255, 255, 255, .5); }
.phone-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--lime);
}
.phone-live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime);
  animation: pulse 1.6s infinite;
}
.phone-body { padding: 16px 4px; display: flex; flex-direction: column; gap: 12px; }
.bubble {
  max-width: 88%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.6;
}
.bubble--ai {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .88);
  border-top-left-radius: 5px;
}
.bubble--me {
  align-self: flex-end;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  color: var(--ink);
  font-weight: 500;
  border-top-right-radius: 5px;
}
.score-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(6, 199, 99, .08);
  border: 1px solid rgba(6, 199, 99, .25);
}
.score-ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-content: center;
  text-align: center;
  background:
    radial-gradient(closest-side, #0C1B12 78%, transparent 80% 100%),
    conic-gradient(var(--green) 86%, rgba(255, 255, 255, .12) 0);
}
.score-ring span { font-size: 20px; font-weight: 900; color: var(--green); line-height: 1; }
.score-ring small { font-size: 10px; color: rgba(255, 255, 255, .55); }
.score-list { flex: 1; display: grid; gap: 7px; }
.score-list li {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, .65);
}
.score-list b { color: var(--white); font-weight: 700; }
.phone-chips { display: flex; gap: 8px; padding: 4px 4px 6px; }
.phone-chips span {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  padding: 7px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .75);
  transition: background .25s ease, color .25s ease;
}
.phone-chips span:first-child { background: var(--green); color: var(--ink); border-color: var(--green); font-weight: 700; }

/* ---- 跑马灯 ---- */
.ticker {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0;
  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);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: tickerScroll 28s linear infinite;
}
.ticker-track span {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: rgba(255, 255, 255, .35);
  white-space: nowrap;
}
.ticker-track i { color: var(--green); font-style: normal; font-size: 14px; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ 通用 Section ============ */
.section { padding: 110px 0; }
.section--light { background: var(--paper); }
.section--dark {
  background: var(--ink-2);
  color: var(--white);
  position: relative;
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(6, 199, 99, .12), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(6, 199, 99, .08), transparent 70%);
  pointer-events: none;
}
.section .container { position: relative; }

.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head--light { margin-inline: auto; text-align: center; }
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.section-head--light .section-tag {
  color: var(--green);
  background: rgba(6, 199, 99, .12);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  text-wrap: balance;
}
/* 长标题：桌面端强制单行并略微收窄字号，避免回退字体变宽导致末字掉行 */
.section-title--long { font-size: clamp(26px, 2.9vw, 38px); }
@media (min-width: 769px) {
  .section-title--long { white-space: nowrap; }
}
.section-title .thin { font-weight: 600; color: var(--text-mute); }
.section-head--light .section-title .thin { color: rgba(255, 255, 255, .55); }
.section-lead { font-size: 16.5px; color: var(--text-mute); }
.section-head--light .section-lead { color: rgba(255, 255, 255, .65); }
.section-lead mark {
  background: transparent;
  color: var(--green-deep);
  font-weight: 700;
}
.section-head--light .section-lead mark { color: var(--green); }

/* ============ AI 产品 · 双面板 ============ */
.panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.panel {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(7, 19, 12, .25);
  border-color: rgba(6, 199, 99, .4);
}
.panel--dark {
  background: linear-gradient(160deg, #10241A, #0A1810);
  border-color: rgba(6, 199, 99, .22);
  color: var(--white);
}
.panel-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-deep);
  margin-bottom: 22px;
}
.panel--dark .panel-icon {
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  color: var(--ink);
}
.panel-icon svg { width: 28px; height: 28px; }
.panel h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 10px;
}
.panel > p { font-size: 15px; color: var(--text-mute); margin-bottom: 26px; }
.panel--dark > p { color: rgba(255, 255, 255, .62); }
.scene-list { display: grid; gap: 16px; }
.scene-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(10, 30, 20, .035);
  transition: background .25s ease;
}
.panel--dark .scene-list li { background: rgba(255, 255, 255, .05); }
.scene-list li:hover { background: var(--green-soft); }
.panel--dark .scene-list li:hover { background: rgba(6, 199, 99, .12); }
.scene-num {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 900;
  color: var(--green-deep);
  line-height: 1.5;
}
.panel--dark .scene-num { color: var(--green); }
.scene-list b { display: block; font-size: 15.5px; font-weight: 700; }
.scene-list small { font-size: 13px; color: var(--text-mute); }
.panel--dark .scene-list small { color: rgba(255, 255, 255, .55); }

/* ============ 能力特性 ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 199, 99, .4);
  box-shadow: 0 22px 44px -26px rgba(7, 19, 12, .25);
}
.feature-ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-deep);
  margin-bottom: 18px;
  transition: transform .3s ease;
}
.feature:hover .feature-ico { transform: scale(1.08) rotate(-4deg); }
.feature-ico svg { width: 24px; height: 24px; }
.feature h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--text-mute); }

/* ============ 解决方案 ============ */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solution {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-light);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.solution:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 199, 99, .45);
  box-shadow: 0 36px 70px -30px rgba(0, 0, 0, .7);
}
.solution-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.solution-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.solution:hover .solution-media img { transform: scale(1.06); }
.solution-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 22, 15, .85) 100%);
}
.solution-badge {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 8px 20px -6px rgba(6, 199, 99, .6);
}
.solution-body { padding: 30px 30px 34px; }
.solution-body h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 900;
  margin-bottom: 12px;
}
.solution-body p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, .62);
  margin-bottom: 20px;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(6, 199, 99, .35);
  color: var(--green);
  background: rgba(6, 199, 99, .08);
  transition: background .25s ease;
}
.tag-list li:hover { background: rgba(6, 199, 99, .2); }

/* ============ 内页首屏（产品页 / 关于页） ============ */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: calc(var(--header-h) + 96px) 0 96px;
  overflow: hidden;
}
.page-hero-inner {
  position: relative;
  max-width: 840px;
}
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: .01em;
  margin-bottom: 24px;
}
.page-hero-title em {
  font-style: normal;
  color: var(--green);
}
.page-hero-lead {
  font-size: 17px;
  color: rgba(255, 255, 255, .72);
  max-width: 620px;
  margin-bottom: 38px;
}
.page-hero-lead mark {
  background: transparent;
  color: var(--green);
  font-weight: 700;
}
.page-hero-inner .hero-actions { margin-bottom: 44px; }

/* ============ 首页 · 产品入口卡片 ============ */
.product-entry {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 42px 44px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.product-entry:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 64px -30px rgba(7, 19, 12, .28);
  border-color: rgba(6, 199, 99, .45);
}
.pe-icon {
  width: 76px; height: 76px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  color: var(--ink);
  flex-shrink: 0;
  box-shadow: 0 14px 30px -12px rgba(6, 199, 99, .55);
  transition: transform .3s ease;
}
.product-entry:hover .pe-icon { transform: scale(1.06) rotate(-4deg); }
.pe-icon svg { width: 38px; height: 38px; }
.pe-body { min-width: 0; }
.pe-body h3 {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 900;
  margin-bottom: 10px;
}
.pe-body h3 span {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-mute);
  margin-left: 10px;
}
.pe-body p {
  font-size: 14.5px;
  color: var(--text-mute);
  margin-bottom: 16px;
  max-width: 560px;
}
.pe-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.pe-tags li {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
}
.pe-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  flex-shrink: 0;
}
.pe-stats { display: flex; gap: 26px; }
.pe-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pe-stat strong {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 900;
  color: var(--green-deep);
  line-height: 1.2;
}
.pe-stat span { font-size: 12.5px; color: var(--text-mute); }
.pe-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  background: var(--ink);
  padding: 13px 26px;
  border-radius: 999px;
  transition: background .25s ease, transform .25s ease;
}
.pe-cta svg { transition: transform .25s ease; }
.product-entry:hover .pe-cta { background: var(--green-deep); }
.product-entry:hover .pe-cta svg { transform: translateX(4px); }

/* ============ 产品页 · 立即使用双卡 ============ */
.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.entry-card {
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
}
.entry-card--dark {
  background: linear-gradient(160deg, #10241A, #0A1810);
  border: 1px solid rgba(6, 199, 99, .25);
  color: var(--white);
}
.entry-card--light {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  color: var(--text);
  align-items: center;
  text-align: center;
}
.entry-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  color: var(--ink);
  margin-bottom: 22px;
}
.entry-icon svg { width: 28px; height: 28px; }
.entry-card h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 12px;
}
.entry-card > p {
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 22px;
}
.entry-card--dark > p { color: rgba(255, 255, 255, .62); }
.entry-card--light > p { color: var(--text-mute); }
.entry-points { display: grid; gap: 12px; margin-bottom: 28px; }
.entry-points li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  font-weight: 500;
}
.entry-card--dark .entry-points li { color: rgba(255, 255, 255, .85); }
.entry-card--light .entry-points li { color: var(--text); }
.entry-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(6, 199, 99, .15);
  border: 1px solid rgba(6, 199, 99, .45);
}
.entry-points li::after {
  content: "";
  position: absolute;
  left: 6px; top: 9px;
  width: 8px; height: 5px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.entry-action { align-self: flex-start; margin-top: auto; }
.entry-qr {
  width: 210px;
  padding: 12px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 20px 44px -20px rgba(7, 19, 12, .35);
  margin-bottom: 22px;
  flex-shrink: 0;
}
.entry-qr img { width: 100%; border-radius: 14px; display: block; }
.entry-qr-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green-deep);
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--green-soft);
  margin-top: auto;
}
.entry-qr-hint svg { color: var(--green-deep); flex-shrink: 0; }

/* ============ 关于我们 ============ */
.about-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.about-text { font-size: 15.5px; color: var(--text-mute); margin-bottom: 18px; }
.about-text strong { color: var(--text); font-weight: 700; }
.about-slogan {
  margin-top: 26px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 900;
  color: var(--green-deep);
  letter-spacing: .12em;
  display: flex;
  align-items: center;
  gap: 16px;
}
.about-slogan::before {
  content: "";
  width: 44px; height: 3px;
  border-radius: 3px;
  background: var(--green);
}
.about-cards { display: grid; gap: 20px; }
.about-card {
  position: relative;
  padding: 28px 30px 28px 96px;
  border-radius: var(--radius);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s ease;
}
.about-card:hover { transform: translateX(6px); border-color: rgba(6, 199, 99, .4); }
.about-card-num {
  position: absolute;
  left: 28px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 900;
  color: rgba(6, 199, 99, .22);
  line-height: 1;
}
.about-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.about-card p { font-size: 14px; color: var(--text-mute); }

/* ============ 联系 CTA ============ */
.section--cta {
  position: relative;
  background: linear-gradient(160deg, #0B2417, #07130C 70%);
  color: var(--white);
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 700px; height: 400px;
  left: 50%; top: -160px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(6, 199, 99, .28), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.contact-copy .section-tag { margin-bottom: 24px; }
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
}
.cta-title em { font-style: normal; color: var(--green); }
.cta-desc {
  font-size: 16.5px;
  color: rgba(255, 255, 255, .65);
  max-width: 520px;
  margin-bottom: 32px;
}
.contact-points { display: grid; gap: 14px; }
.contact-points li {
  position: relative;
  padding-left: 34px;
  font-size: 15.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .82);
}
.contact-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(6, 199, 99, .15);
  border: 1px solid rgba(6, 199, 99, .45);
}
.contact-points li::after {
  content: "";
  position: absolute;
  left: 7px; top: 8px;
  width: 8px; height: 5px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* 二维码卡片 */
.contact-qrcode {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.qr-card {
  width: 300px;
  max-width: 100%;
  padding: 14px;
  border-radius: 28px;
  background: var(--white);
  box-shadow:
    0 36px 70px -24px rgba(0, 0, 0, .75),
    0 0 0 1px rgba(255, 255, 255, .14),
    0 0 60px -16px rgba(6, 199, 99, .45);
  animation: qrFloat 5s ease-in-out infinite;
}
@keyframes qrFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.qr-card img {
  width: 100%;
  border-radius: 18px;
  display: block;
}
.qr-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .75);
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-light);
}
.qr-hint svg { width: 19px; height: 19px; color: var(--green); flex-shrink: 0; }

/* ============ 页脚 ============ */
.site-footer {
  background: #050D08;
  color: rgba(255, 255, 255, .6);
  padding: 64px 0 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
}
.footer-logo {
  height: 36px;
  margin-bottom: 16px;
  opacity: .95;
}
.footer-slogan {
  font-size: 13px;
  letter-spacing: .22em;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 18px;
}
.footer-desc {
  font-size: 13.5px;
  line-height: 1.95;
  color: rgba(255, 255, 255, .45);
  max-width: 380px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .55);
  padding: 6px 0;
  transition: color .25s ease;
}
.footer-col a:hover { color: var(--green); }

/* 备案与版权条（合规区） */
.footer-legal {
  border-top: 1px solid var(--line-light);
  padding: 22px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, .4);
  line-height: 1.8;
}
.footer-beian {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.footer-beian a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
  line-height: 1.8;
  transition: color .25s ease;
}
.footer-beian a:hover { color: var(--green); }
.footer-beian .beian-icon {
  width: auto;
  height: 16px;
  opacity: .85;
}

/* ============ 滚动入场动画 ============ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.hero .reveal:nth-child(1) { transition-delay: .05s; }
.hero .reveal:nth-child(2) { transition-delay: .15s; }
.hero .reveal:nth-child(3) { transition-delay: .25s; }
.hero .reveal:nth-child(4) { transition-delay: .35s; }
.hero .reveal:nth-child(5) { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { order: -1; }
  .phone { width: 300px; }
  .hero-stats { gap: 28px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-copy { text-align: center; }
  .contact-copy .section-tag { margin-inline: auto; }
  .cta-desc { margin-inline: auto; }
  .contact-points { display: inline-grid; text-align: left; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; text-align: left; }

  .product-entry { grid-template-columns: auto 1fr; padding: 34px 30px; gap: 24px; }
  .pe-side {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 22px;
  }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section { padding: 76px 0; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 6%;
    background: rgba(252, 254, 251, .97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(7, 19, 12, .3);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease, transform .28s ease;
  }
  .main-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-link { color: var(--text) !important; padding: 14px 12px; font-size: 16px; }
  .nav-link::after { display: none; }
  /* 移动端当前页高亮 */
  .nav-link.is-active {
    background: var(--green-soft);
    color: var(--green-deep) !important;
    font-weight: 700;
  }

  /* 移动端：下拉抽屉改为菜单内联展开 */
  .nav-item { width: 100%; }
  .nav-item > .nav-link {
    width: 100%;
    justify-content: space-between;
    border-radius: 14px;
  }
  .nav-drawer {
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    background: rgba(6, 199, 99, .06);
    margin: 2px 0 8px;
    padding: 6px;
  }
  .nav-drawer::before { display: none; }
  .nav-item.is-open .nav-drawer {
    display: block;
    transform: none;
  }
  .nav-drawer--product { width: 100%; }
  .drawer-card { padding: 12px; gap: 12px; }
  .drawer-card-icon { width: 40px; height: 40px; border-radius: 12px; }
  .drawer-card-icon svg { width: 20px; height: 20px; }
  .drawer-card-body p { display: none; }

  .hero { padding-top: calc(var(--header-h) + 44px); }
  .hero-inner { padding-bottom: 56px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .hero-stats li { flex-direction: row; align-items: baseline; gap: 8px; }
  .blk-1, .blk-4 { display: none; }

  .page-hero { padding: calc(var(--header-h) + 56px) 0 64px; }

  .panels { grid-template-columns: 1fr; }
  .panel { padding: 30px 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }

  .product-entry { grid-template-columns: 1fr; padding: 28px 24px; gap: 20px; text-align: left; }
  .pe-icon { width: 60px; height: 60px; border-radius: 18px; }
  .pe-icon svg { width: 30px; height: 30px; }
  .pe-body h3 { font-size: 21px; }
  .pe-body h3 span { display: block; margin: 6px 0 0; }
  .pe-side {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .pe-stats { justify-content: space-between; gap: 12px; }
  .pe-cta { justify-content: center; }

  .entry-grid { grid-template-columns: 1fr; gap: 22px; }
  .entry-card { padding: 32px 26px; }
  .entry-action { align-self: stretch; justify-content: center; }

  .contact-inner { grid-template-columns: 1fr; gap: 44px; }
  .contact-copy { text-align: center; }
  .contact-copy .section-tag { margin-inline: auto; }
  .cta-desc { margin-inline: auto; }
  .contact-points { display: inline-grid; text-align: left; }
  .qr-card { width: 260px; }
  .about-card { padding: 24px 24px 24px 84px; }
  .about-card-num { left: 22px; font-size: 32px; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 8px; }
}
