/* ====================================================================
   i-Function 智能板 - 落地页详情样式
==================================================================== */

/* ---------- Hero ---------- */
.ifd-hero {
  background: linear-gradient(135deg, #0e1a2b 0%, #1a2c47 60%, #2a4a7a 100%);
  color: #fff;
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}
.ifd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px circle at 80% 20%, rgba(51,117,175,.35), transparent 60%),
    radial-gradient(600px circle at 10% 90%, rgba(230,0,18,.18), transparent 60%);
  pointer-events: none;
}
.ifd-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 50px;
  align-items: center;
}
.ifd-hero__crumb { font-size: 12px; margin-bottom: 18px; opacity: .8; }
.ifd-hero__crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.ifd-hero__crumb li { display: flex; align-items: center; gap: 6px; }
.ifd-hero__crumb li:not(:last-child)::after { content: "›"; opacity: .5; margin-left: 4px; }
.ifd-hero__crumb a { color: #fff; opacity: .85; text-decoration: none; }
.ifd-hero__crumb a:hover { opacity: 1; text-decoration: underline; }

.ifd-hero__eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.ifd-hero__title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.5px;
  margin: 0 0 12px;
}
.ifd-hero__title em {
  font-style: normal;
  color: #ffb84d;
  font-family: 'Inter', sans-serif;
}
.ifd-hero__sub {
  font-size: 16px;
  line-height: 1.7;
  opacity: .88;
  margin: 0 0 22px;
  max-width: 580px;
}
.ifd-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.ifd-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.ifd-hero__chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ffb84d;
}
.ifd-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ifd-hero__actions .btn { font-size: 14px; }

.ifd-hero__media {
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
}
.ifd-hero__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,.4));
}

/* ---------- 产品特性 ---------- */
.ifd-features { padding: 70px 0; background: #fff; }
.ifd-features__head { text-align: center; max-width: 720px; margin: 0 auto var(--sp-7); }
.ifd-features__head h2 {
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 800;
  margin: 12px 0 var(--sp-3);
  color: var(--c-text);
}
.ifd-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.ifd-feature {
  background: #fff;
  border: 1px solid var(--c-border, #e3eaf2);
  border-radius: 12px;
  padding: 24px 22px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.ifd-feature:hover {
  transform: translateY(-3px);
  border-color: var(--c-primary);
  box-shadow: 0 12px 24px rgba(12,35,64,.06);
}
.ifd-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  font-size: 20px;
  background: linear-gradient(135deg, rgba(51,117,175,.12), rgba(51,117,175,.04));
  color: var(--c-primary);
  margin-bottom: 14px;
}
.ifd-feature__title {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--c-text);
  letter-spacing: -.2px;
}
.ifd-feature__desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--c-text-muted, #6e7682);
  margin: 0;
}

/* ---------- 参数规格表 ---------- */
.ifd-specs { padding: 70px 0; background: var(--c-bg-alt, #f0f5fa); }
.ifd-specs__head { text-align: center; max-width: 720px; margin: 0 auto var(--sp-7); }
.ifd-specs__head h2 {
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 800;
  margin: 12px 0 var(--sp-3);
  color: var(--c-text);
}
.ifd-specs__head p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--c-text-muted, #6e7682);
  margin: 0;
}
.ifd-specs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.ifd-spec-group {
  background: #fff;
  border: 1px solid var(--c-border, #e3eaf2);
  border-radius: 12px;
  padding: 24px 24px 8px;
}
.ifd-spec-group__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--c-primary);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-border, #e3eaf2);
  letter-spacing: -.2px;
}
.ifd-spec-group__title::before {
  content: "";
  width: 4px; height: 16px;
  border-radius: 2px;
  background: var(--c-primary);
}
.ifd-spec-group dl {
  margin: 0;
  display: grid;
  grid-template-columns: 38% 62%;
  font-size: 13.5px;
  line-height: 1.6;
}
.ifd-spec-group dt,
.ifd-spec-group dd {
  padding: 10px 0;
  border-bottom: 1px dashed var(--c-border, #e3eaf2);
  margin: 0;
}
.ifd-spec-group dt {
  color: var(--c-text-muted, #6e7682);
  font-weight: 600;
  padding-right: 12px;
}
.ifd-spec-group dd { color: var(--c-text); font-weight: 600; }
.ifd-spec-group dl > :nth-last-child(-n+2) { border-bottom: none; }

/* ---------- 兼容性卡片 ---------- */
.ifd-compat { padding: 70px 0; background: #fff; }
.ifd-compat__head { text-align: center; max-width: 720px; margin: 0 auto var(--sp-7); }
.ifd-compat__head h2 {
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 800;
  margin: 12px 0 var(--sp-3);
  color: var(--c-text);
}
.ifd-compat__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.ifd-compat__card {
  background: linear-gradient(135deg, #f5f9fd 0%, #ebf2fa 100%);
  border: 1px solid var(--c-border, #e3eaf2);
  border-radius: 12px;
  padding: 22px 24px;
}
.ifd-compat__label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.ifd-compat__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ifd-compat__chip {
  display: inline-flex;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--c-border, #e3eaf2);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text);
  font-family: 'Inter', monospace;
  transition: border-color .2s, transform .2s;
}
.ifd-compat__chip:hover {
  border-color: var(--c-primary);
  transform: translateY(-1px);
}
a.ifd-compat__chip { text-decoration: none; }
a.ifd-compat__chip:hover { color: var(--c-primary); }

/* ---------- 相关板卡推荐 ---------- */
.ifd-related { padding: 70px 0; background: var(--c-bg-alt, #f0f5fa); }
.ifd-related__head { text-align: center; max-width: 720px; margin: 0 auto var(--sp-7); }
.ifd-related__head h2 {
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 800;
  margin: 12px 0 var(--sp-3);
  color: var(--c-text);
}
.ifd-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.ifd-related__card {
  background: #fff;
  border: 1px solid var(--c-border, #e3eaf2);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.ifd-related__card:hover {
  transform: translateY(-3px);
  border-color: var(--c-primary);
  box-shadow: 0 12px 24px rgba(12,35,64,.07);
}
.ifd-related__media {
  width: 80px; height: 80px;
  border-radius: 8px;
  background: var(--c-bg-alt, #f0f5fa);
  flex-shrink: 0;
  padding: 6px;
}
.ifd-related__media img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.ifd-related__body { min-width: 0; }
.ifd-related__name {
  font-size: 15px;
  font-weight: 800;
  color: var(--c-text);
  margin: 0 0 4px;
}
.ifd-related__role {
  font-size: 12px;
  color: var(--c-text-muted, #6e7682);
  margin: 0;
  line-height: 1.5;
}

/* ---------- 响应式 ---------- */
@media (max-width: 880px) {
  .ifd-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .ifd-hero__media { order: -1; aspect-ratio: 4 / 3; }
  .ifd-spec-group dl { grid-template-columns: 42% 58%; }
}
@media (max-width: 480px) {
  .ifd-hero { padding: 48px 0 56px; }
  .ifd-hero__media { padding: 20px; }
  .ifd-spec-group { padding: 18px 18px 4px; }
  .ifd-spec-group dl { grid-template-columns: 1fr; font-size: 13px; }
  .ifd-spec-group dt { padding-bottom: 2px; border-bottom: none; opacity: .85; }
  .ifd-spec-group dd { padding-top: 0; padding-bottom: 12px; }
}
