/* ==========================================================================
   首页视觉升级：参考 idcmax.com 的排版与视觉语言（2026-10-30）
   范围：仅首页 .idcmax-home 内的导航、Hero、快捷条、区块标题、产品卡与 CTA；
   不改路由、接口、计价与后台主题。原文件与回滚见
   /www/backup/xin-home-idcmax-20261030/README.md
   ========================================================================== */

.idcmax-home {
  --im-blue: #0b5cff;
  --im-blue-soft: #5f8eff;
  --im-ink: #12151b;
  --im-sub: #6f7787;
  --im-line: #e9eef7;
  background: #fff;
}

/* ---------- 顶部导航：通栏白底、品牌字标、浅灰搜索框、右侧整高注册按钮 ---------- */
.idcmax-home .tc-nav {
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #eef1f6;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.idcmax-home .tc-nav-scrolled {
  background: #fff;
  box-shadow: 0 4px 18px rgba(25, 45, 80, .055);
}
.idcmax-home .tc-nav .home-nav-inner {
  max-width: none;
  height: 72px;
  padding: 0 28px;
  gap: 18px;
}
.idcmax-home .home-logo { flex: none; gap: 10px; }
.idcmax-home .home-logo-img { height: 32px; }
.idcmax-home .home-logo::after {
  content: "\521B\521B\4E91";
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .5px;
  color: #1b2432;
  white-space: nowrap;
}
.idcmax-home .tc-nav .home-nav-links { margin-left: 34px; gap: 0; }
.idcmax-home .tc-nav .home-nav-links .nav-item > a {
  padding: 8px 14px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 400;
  color: #232b37;
}
.idcmax-home .tc-nav .home-nav-links a:hover { color: var(--im-blue); background: transparent; }
.idcmax-home .tc-nav .home-nav-links a.active { color: #111; font-weight: 500; }
.idcmax-home .tc-nav .nav-caret { opacity: .42; }
.idcmax-home .home-nav-actions { height: 72px; margin-left: auto; gap: 8px; }
.idcmax-home .dn-nav-search {
  width: 192px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid #edf0f5;
  border-radius: 0;
  background: #f3f5f8;
  color: #9aa3b1;
  font-size: 15px;
}
.idcmax-home .dn-nav-search::after {
  content: "\8BF7\8F93\5165\5173\952E\5B57";
  font-size: 13px;
  line-height: 1;
  color: #9ba4b2;
  white-space: nowrap;
}
.idcmax-home .dn-nav-search:hover { background: #fff; border-color: #d6e1f3; color: var(--im-blue); }
.idcmax-home .tc-nav .tc-nav-text-link {
  padding: 8px 10px;
  font-size: 13.5px;
  color: #39414f;
}
.idcmax-home .home-nav-actions .arco-btn-primary {
  height: 72px;
  margin-right: -28px;
  padding: 0 32px;
  border: 0;
  border-radius: 0;
  background: var(--im-blue);
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
}
.idcmax-home .home-nav-actions .arco-btn-primary:hover { background: #0048d6; }

/* ---------- Hero：淡紫到淡蓝渐变 + 巨大白色几何体 + 黑色超粗标题 ---------- */
.idcmax-home .dn-hero {
  height: 660px;
  min-height: 660px;
  background:
    radial-gradient(860px 520px at 8% 0%, rgba(255, 255, 255, .60), transparent 62%),
    linear-gradient(104deg, #f0ebfa 0%, #f7f3ff 28%, #edf3ff 63%, #e1ecff 100%);
}
.idcmax-home .dn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  height: auto;
  transform: none;
  background:
    linear-gradient(112deg, transparent 0 49%, rgba(255, 255, 255, .56) 49.1% 74%, transparent 74.1%),
    linear-gradient(112deg, transparent 0 72%, rgba(255, 255, 255, .28) 72.1% 100%);
  pointer-events: none;
}
.idcmax-home .dn-hero::after { display: none; }
.idcmax-home .dn-hero .home-hero-bg { opacity: .6; }
.idcmax-home .dn-hero .blob { opacity: .22; filter: blur(100px); }
.idcmax-home .dn-hero .blob-1 { background: #c8b6ff; }
.idcmax-home .dn-hero .blob-2 { background: #8fc5ff; }
.idcmax-home .dn-hero .grid-overlay { display: none; }
.idcmax-home .dn-hero .tc-hero-video { opacity: .05; filter: saturate(.5); }
.idcmax-home .dn-hero .tc-hero-mask {
  background: linear-gradient(90deg, rgba(246, 243, 253, .88) 0%, rgba(246, 243, 253, .48) 40%, rgba(246, 243, 253, 0) 72%);
}
.idcmax-home .dn-hero-inner {
  max-width: 1200px;
  padding: 168px 20px 118px;
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: 44px;
}
.idcmax-home .dn-hero .tc-hero-copy { max-width: 600px; }
.imd-hero-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  margin-bottom: 20px;
  padding: 0 9px;
  border-radius: 2px;
  background: #ef3b36;
  color: #fff;
  font-size: 12px;
  line-height: 24px;
  letter-spacing: .3px;
  white-space: nowrap;
}
.idcmax-home .dn-hero .tc-hero-title {
  margin: 0;
  max-width: 620px;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #12151b;
  font-size: 52px;
  line-height: 1.26;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--im-ink);
}
.idcmax-home .dn-hero .tc-hero-sub {
  margin: 20px 0 0;
  max-width: 565px;
  font-size: 15px;
  line-height: 1.8;
  color: #697181;
}
.idcmax-home .dn-hero .tc-hero-btns { margin-top: 34px; gap: 8px; }
.idcmax-home .dn-hero .tc-hero-btns .arco-btn {
  height: 46px;
  min-width: 0;
  border-radius: 0;
  font-size: 14px;
}
.idcmax-home .dn-hero .tc-hero-btns .imd-hero-cta {
  padding: 0 28px;
  background: var(--im-blue);
  border-color: var(--im-blue);
  box-shadow: none;
}
.idcmax-home .dn-hero .tc-hero-btns .imd-hero-cta:hover { background: #0048d6; border-color: #0048d6; }
.idcmax-home .imd-hero-cta::after { content: "\2192"; margin-left: 22px; font-size: 16px; font-weight: 400; }
.idcmax-home .dn-hero .tc-hero-btns .imd-hero-secondary {
  margin-left: 4px;
  padding: 0 18px;
  border-color: transparent;
  background: transparent;
  color: #5f6878;
  box-shadow: none;
}
.idcmax-home .dn-hero .tc-hero-btns .imd-hero-secondary:hover {
  color: var(--im-blue);
  border-color: transparent;
  background: transparent;
}
.idcmax-home .dn-hero-dots {
  left: max(20px, calc((100% - 1200px) / 2 + 20px));
  bottom: 42px;
  transform: none;
  gap: 8px;
}
.idcmax-home .dn-hero-dot {
  width: 18px;
  height: 3px;
  border-radius: 0;
  background: rgba(58, 84, 126, .18);
}
.idcmax-home .dn-hero-dot.active { width: 56px; background: var(--im-blue-soft); }

/* 右侧立体几何体 */
.idcmax-home .imd-cube-art { height: 468px; perspective: none; }
.idcmax-home .imd-cube-art::before {
  content: "";
  position: absolute;
  inset: 8% -5% 0;
  background: radial-gradient(closest-side, rgba(133, 172, 255, .24), rgba(133, 172, 255, 0) 72%);
  filter: blur(12px);
}
.idcmax-home .imd-cube-art svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.idcmax-home .imd-cube-main { animation: imd-cube-main 8s ease-in-out infinite; transform-origin: 50% 55%; }
.idcmax-home .imd-cube-float { animation: imd-cube-float 6s ease-in-out infinite; transform-origin: 50% 60%; }
.idcmax-home .imd-cube-small { animation: imd-cube-small 7.5s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes imd-cube-main {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes imd-cube-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}
@keyframes imd-cube-small {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ---------- 首屏下方：三列能力 + 蓝色注册引导 ---------- */
.idcmax-home .dn-quick { border: 0; background: #fff; }
.idcmax-home .dn-quick-inner {
  grid-template-columns: 1fr 1fr 1fr 1.08fr;
  max-width: 1200px;
  padding: 0 20px;
}
.idcmax-home .dn-quick-item {
  min-height: 126px;
  padding: 28px 22px;
  gap: 13px;
  border-right: 1px solid #eef2f7;
}
.idcmax-home .dn-quick-item:hover { background: #fbfcff; }
.idcmax-home .dn-quick-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eef5ff;
  color: var(--im-blue);
  font-size: 18px;
}
.idcmax-home .dn-quick-text b { font-size: 15px; font-weight: 700; color: #151b25; }
.idcmax-home .dn-quick-text em { font-size: 12.5px; line-height: 1.55; color: #7c8594; }
.idcmax-home .dn-quick-cta {
  position: relative;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  padding: 22px 24px;
  background: linear-gradient(110deg, #0b5cff 0%, #2f83ff 100%);
  color: #fff;
  text-decoration: none;
}
.idcmax-home .dn-quick-cta::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -54px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255, 255, 255, .055), 0 0 0 44px rgba(255, 255, 255, .035);
}
.idcmax-home .dn-quick-cta-title { position: relative; z-index: 1; font-size: 16px; font-weight: 600; }
.idcmax-home .dn-quick-cta-title em {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 4px;
  border-radius: 2px;
  background: #ff4d3a;
  font-size: 9px;
  line-height: 1.5;
  font-style: normal;
  vertical-align: 2px;
  letter-spacing: .3px;
}
.idcmax-home .dn-quick-cta-desc { position: relative; z-index: 1; font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, .86); }
.idcmax-home .dn-quick-cta-link { position: relative; z-index: 1; margin-top: 5px; font-size: 12px; color: #fff; }
.idcmax-home .dn-quick-cta-link i { font-style: normal; display: inline-block; margin-left: 3px; transition: transform .25s ease; }
.idcmax-home .dn-quick-cta:hover .dn-quick-cta-link i { transform: translateX(4px); }

/* ---------- 区块节奏与标题 ---------- */
.idcmax-home .home-section { padding-top: 84px; padding-bottom: 84px; }
.idcmax-home .dn-sec-head, .idcmax-home .dn-products .tc-sc-head { max-width: 820px; margin-bottom: 42px; }
.idcmax-home .dn-sec-head h2,
.idcmax-home .dn-products .tc-sc-title,
.idcmax-home .dn-partners h2,
.idcmax-home .tc-sec-head .home-section-title {
  font-size: 32px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -.8px;
  color: var(--im-ink);
}
.idcmax-home .dn-sec-head p,
.idcmax-home .dn-products .tc-sc-sub,
.idcmax-home .dn-partners > p,
.idcmax-home .tc-sec-head .home-section-desc {
  margin-top: 13px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--im-sub);
}

/* 产品区：三列白卡（每行 3 张，2 行大卡 + 1 行小卡），对齐参考站的商品密度 */
.idcmax-home .dn-products { background: #f7f9fc; }
.idcmax-home .dn-products .tc-sc-grid { gap: 18px; }
.idcmax-home .dn-products .tc-scard {
  flex: 0 0 calc((100% - 36px) / 3);
  min-height: 180px;
  border: 1px solid #edf1f7;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(24, 42, 76, .035);
}
.idcmax-home .dn-products .tc-scard:hover {
  border-color: #d9e4f5;
  box-shadow: 0 12px 26px rgba(24, 42, 76, .09);
}
.idcmax-home .dn-products .tc-scard-body { padding: 18px; }
.idcmax-home .dn-products .tc-scard-title { font-size: 15.5px; line-height: 1.48; }
.idcmax-home .dn-products .tc-scard-title,
.idcmax-home .dn-products .tc-scard-specs,
.idcmax-home .dn-products .tc-scard-extra { max-width: calc(100% - 84px); }
.idcmax-home .dn-products .tc-scard-price { font-size: 23px; }
.idcmax-home .dn-products .dn-card-art { right: 14px; bottom: 54px; width: 70px; height: 70px; font-size: 28px; }
.idcmax-home .dn-products .tc-sc-tab { padding: 9px 22px; font-size: 14px; border-radius: 2px; }
.idcmax-home .dn-products .dn-sub-tab { border-radius: 2px; }
.idcmax-home .dn-products .tc-ccard { border-radius: 4px; }

/* 解决方案与优势卡：减少圆角、加强留白 */
.idcmax-home .tc-sol-tab { border-radius: 2px; }
.idcmax-home .tc-sol-panel { border-radius: 4px; box-shadow: 0 10px 30px rgba(24, 42, 76, .06); }
.idcmax-home .dn-why-grid { gap: 20px; }
.idcmax-home .dn-why-card { border-radius: 4px; border-color: #edf1f7; box-shadow: none; }
.idcmax-home .dn-why-card:hover { border-color: #dce5f3; box-shadow: 0 10px 24px rgba(24, 42, 76, .065); }
.idcmax-home .dn-news-col { border-radius: 4px; border-color: #edf1f7; }
.idcmax-home .dn-partner { border-radius: 4px; border-color: #edf1f7; }
.idcmax-home .tc-data-grid { border-radius: 4px; border-color: #edf1f7; }

/* ---------- 底部 CTA：整幅蓝色横幅 ---------- */
.idcmax-home .tc-cta { padding: 0; background: #fff; }
.idcmax-home .tc-cta-inner {
  max-width: none;
  padding: 64px 20px;
  border-radius: 0;
  background:
    radial-gradient(760px 260px at 12% 120%, rgba(119, 183, 255, .34), transparent 67%),
    radial-gradient(620px 220px at 88% -30%, rgba(255, 255, 255, .20), transparent 65%),
    linear-gradient(105deg, #0b5cff 0%, #267bff 56%, #3d92ff 100%);
}
.idcmax-home .tc-cta-title { font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -.5px; }
.idcmax-home .tc-cta-desc { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .82); }
.idcmax-home .tc-cta-btns { margin-top: 24px; gap: 10px; }
.idcmax-home .tc-cta-btns .arco-btn { height: 42px; min-width: 122px; border-radius: 0; }
.idcmax-home .tc-cta-btns .arco-btn-primary { background: #fff; border-color: #fff; color: #0b5cff; }
.idcmax-home .tc-cta-btns .arco-btn-primary:hover { background: #f2f6ff; border-color: #f2f6ff; }
.idcmax-home .tc-cta-btns .arco-btn-secondary { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.idcmax-home .tc-cta-btns .arco-btn-secondary:hover { background: rgba(255, 255, 255, .10); border-color: #fff; color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 1320px) {
  .idcmax-home .tc-nav .home-nav-links { margin-left: 18px; }
  .idcmax-home .dn-nav-search { width: 168px; }
}
@media (max-width: 1199px) {
  .idcmax-home .tc-nav .home-nav-links { margin-left: 8px; }
  .idcmax-home .tc-nav .home-nav-links .nav-item > a { padding: 8px 9px; font-size: 13.5px; }
  .idcmax-home .dn-nav-search { width: 38px; padding: 0; justify-content: center; }
  .idcmax-home .dn-nav-search::after { display: none; }
  .idcmax-home .dn-hero-inner { grid-template-columns: minmax(0, 1fr) 410px; padding-top: 150px; }
  .idcmax-home .dn-hero .tc-hero-title { font-size: 44px; letter-spacing: -1px; }
  .idcmax-home .dn-products .tc-scard { flex-basis: calc((100% - 36px) / 3); }
}
@media (max-width: 991px) {
  .idcmax-home .tc-nav .home-nav-inner { height: 64px; padding: 0 18px; }
  .idcmax-home .home-nav-actions { height: 64px; }
  .idcmax-home .home-nav-actions .arco-btn-primary { height: 64px; margin-right: -18px; padding: 0 22px; }
  .idcmax-home .dn-hero { height: auto; min-height: 560px; }
  .idcmax-home .dn-hero-inner { grid-template-columns: 1fr; padding: 136px 20px 96px; }
  .idcmax-home .dn-hero .tc-hero-copy { max-width: 660px; }
  .idcmax-home .imd-cube-art { display: none; }
  .idcmax-home .dn-hero-dots { bottom: 34px; }
  .idcmax-home .dn-quick-inner { grid-template-columns: repeat(2, 1fr); }
  .idcmax-home .dn-quick-item:nth-child(2) { border-right: none; }
  .idcmax-home .dn-quick-cta { grid-column: span 2; min-height: 112px; }
  .idcmax-home .dn-products .tc-scard { flex-basis: calc((100% - 18px) / 2); }
  .idcmax-home .dn-sec-head h2,
  .idcmax-home .dn-products .tc-sc-title,
  .idcmax-home .dn-partners h2,
  .idcmax-home .tc-sec-head .home-section-title { font-size: 27px; }
  .idcmax-home .tc-cta-title { font-size: 25px; }
}
@media (max-width: 768px) {
  .idcmax-home .tc-nav .home-nav-inner { padding: 0 14px; }
  .idcmax-home .home-logo-img { height: 28px; }
  .idcmax-home .home-logo::after { font-size: 18px; }
  .idcmax-home .home-nav-actions .arco-btn-primary { height: 64px; margin-right: -14px; padding: 0 16px; font-size: 13px; }
  .idcmax-home .dn-hero { min-height: 520px; }
  .idcmax-home .dn-hero-inner { padding: 118px 16px 82px; }
  .idcmax-home .dn-hero .tc-hero-title { font-size: 34px; line-height: 1.28; letter-spacing: -.8px; }
  .idcmax-home .dn-hero .tc-hero-sub { margin-top: 15px; font-size: 13.5px; line-height: 1.7; }
  .imd-hero-badge { margin-bottom: 15px; }
  .idcmax-home .dn-hero .tc-hero-btns { margin-top: 25px; }
  .idcmax-home .dn-hero .tc-hero-btns .arco-btn { height: 42px; }
  .idcmax-home .dn-quick-inner { grid-template-columns: 1fr; padding: 0 16px; }
  .idcmax-home .dn-quick-item { min-height: 0; padding: 21px 6px; border-right: none; border-bottom: 1px solid #eef2f7; }
  .idcmax-home .dn-quick-cta { grid-column: span 1; min-height: 104px; padding: 20px 22px; }
  .idcmax-home .dn-products .tc-scard { flex-basis: 100%; }
  .idcmax-home .dn-products .tc-scard-title,
  .idcmax-home .dn-products .tc-scard-specs,
  .idcmax-home .dn-products .tc-scard-extra { max-width: calc(100% - 82px); }
  .idcmax-home .home-section { padding-top: 56px; padding-bottom: 56px; }
  .idcmax-home .dn-sec-head h2,
  .idcmax-home .dn-products .tc-sc-title,
  .idcmax-home .dn-partners h2,
  .idcmax-home .tc-sec-head .home-section-title { font-size: 23px; }
  .idcmax-home .tc-cta-inner { padding: 44px 18px; }
  .idcmax-home .tc-cta-title { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .idcmax-home .imd-cube-main,
  .idcmax-home .imd-cube-float,
  .idcmax-home .imd-cube-small { animation: none; }
}