/* ====== 温湿度监测系统 - 单页样式 ====== */

/* ---------- Banner ---------- */
.ht-banner {
  position: relative;
  min-height: 540px;
  background: radial-gradient(ellipse at 30% 20%, #0d2c54 0%, #051a3a 60%, #020e22 100%);
  display: flex; align-items: center; overflow: hidden;
}
.ht-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
}
.ht-banner .ht-banner-glow {
  position: absolute; width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.15) 0%, transparent 70%);
  top: -100px; right: -80px; pointer-events: none;
}
.ht-banner .container { position: relative; z-index: 2; display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.ht-banner-text { flex: 1; min-width: 300px; }
.ht-banner-text .ht-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 18px; border-radius: 20px;
  font-size: 13px; font-weight: 600; color: #38bdf8;
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.18);
  margin-bottom: 20px;
}
.ht-banner-text h1 { font-size: 42px; font-weight: 800; color: #fff; line-height: 1.25; margin-bottom: 16px; }
.ht-banner-text h1 span { background: linear-gradient(135deg, #38bdf8, #2dd4bf); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ht-banner-text p { font-size: 17px; color: rgba(255,255,255,0.68); line-height: 1.75; margin-bottom: 32px; max-width: 500px; }
.ht-banner-text .ht-btn-group { display: flex; gap: 14px; flex-wrap: wrap; }
.ht-banner-text .ht-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 34px; border-radius: 10px;
  font-size: 15px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #0284c7, #06b6d4);
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 18px rgba(2,132,199,0.4);
}
.ht-banner-text .ht-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(2,132,199,0.55); color: #fff; text-decoration: none; }
.ht-banner-text .ht-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 34px; border-radius: 10px;
  font-size: 15px; font-weight: 600; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: transparent;
  text-decoration: none;
  transition: all 0.3s;
}
.ht-banner-text .ht-btn-outline:hover { background: rgba(255,255,255,0.08); border-color: #fff; color: #fff; text-decoration: none; }

/* Banner 设备拓扑展示 */
.ht-banner .ht-banner-pic {
  flex: 0 0 480px;
  position: relative;
}
.ht-banner .ht-banner-pic img {
  width: 100%; border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.1);
}

/* ---------- 统计条 ---------- */
.ht-stats-strip {
  margin-top: -40px;
  position: relative; z-index: 3;
}
.ht-stats-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ht-stat-card {
  background: #fff; border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.08);
  border: 1px solid #eef2f6;
  text-align: center;
  transition: all 0.3s;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 130px;
}
.ht-stat-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,0.12); }
.ht-stat-card .ht-stat-num {
  font-size: 36px; font-weight: 800; line-height: 1.2;
  background: linear-gradient(135deg, #075985, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
  min-height: 43px;
  display: flex; align-items: center; justify-content: center;
}
.ht-stat-card .ht-stat-label {
  font-size: 14px; color: #64748b; font-weight: 500;
  min-height: 21px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- 通用 section ---------- */
.ht-section-header { text-align: center; margin-bottom: 50px; }
.ht-section-label {
  display: inline-block; font-size: 13px; font-weight: 700; color: #0284c7;
  background: rgba(2,132,199,0.08); padding: 4px 16px; border-radius: 20px;
  margin-bottom: 12px; letter-spacing: 1px; text-transform: uppercase;
}
.ht-section-header h2 { font-size: 34px; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.ht-section-header .ht-section-desc { font-size: 16px; color: #64748b; max-width: 600px; margin: 0 auto; }

/* ---------- 产品概述 ---------- */
.ht-overview { padding: 90px 0 60px; background: #fff; }
.ht-overview .ht-overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.ht-overview .ht-overview-pic {
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  background: #fff;
}
.ht-overview .ht-overview-pic img { width: 100%; display: block; }
.ht-overview .ht-overview-pic::after {
  content: ""; position: absolute; inset: 0;
  border: 3px solid rgba(2,132,199,0.15); border-radius: 16px; pointer-events: none;
}
.ht-overview-text h2 { font-size: 28px; font-weight: 800; color: #0f172a; margin-bottom: 18px; }
.ht-overview-text p { font-size: 15px; color: #475569; line-height: 1.8; margin-bottom: 14px; }
.ht-overview-text .ht-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.ht-overview-text .ht-tags span {
  padding: 7px 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
  background: #ecfeff; color: #0284c7; border: 1px solid #a5f3fc;
}

/* ---------- 核心功能 ---------- */
.ht-features { padding: 80px 0; background: #f8fafc; }
.ht-features .ht-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ht-feat-card {
  background: #fff; border-radius: 14px; padding: 32px 24px;
  border: 1px solid #eef2f6; transition: all 0.35s;
  position: relative; overflow: hidden;
}
.ht-feat-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 0;
  background: linear-gradient(180deg, #0284c7, #06b6d4);
  transition: height 0.35s; border-radius: 0 2px 2px 0;
}
.ht-feat-card:hover::before { height: 100%; }
.ht-feat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  border-color: transparent;
}
.ht-feat-card .ht-feat-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; margin-bottom: 18px;
}
.ht-feat-card:nth-child(1) .ht-feat-icon { background: linear-gradient(135deg, #0284c7, #38bdf8); }
.ht-feat-card:nth-child(2) .ht-feat-icon { background: linear-gradient(135deg, #dc2626, #f87171); }
.ht-feat-card:nth-child(3) .ht-feat-icon { background: linear-gradient(135deg, #059669, #34d399); }
.ht-feat-card:nth-child(4) .ht-feat-icon { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.ht-feat-card:nth-child(5) .ht-feat-icon { background: linear-gradient(135deg, #ea580c, #f97316); }
.ht-feat-card:nth-child(6) .ht-feat-icon { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.ht-feat-card h3 { font-size: 18px; font-weight: 700; color: #1e293b; margin-bottom: 10px; }
.ht-feat-card p { font-size: 14px; color: #64748b; line-height: 1.7; margin: 0; }

/* ---------- 系统拓扑图 ---------- */
.ht-topology { padding: 80px 0; background: #fff; }
.ht-topology .ht-topology-img {
  max-width: 900px; margin: 0 auto;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 14px 50px rgba(0,0,0,0.1);
  border: 1px solid #eef2f6;
  background: #fff;
}
.ht-topology .ht-topology-img img { width: 100%; display: block; }
.ht-topology .ht-topology-caption {
  text-align: center; margin-top: 18px; font-size: 14px; color: #94a3b8;
}

/* ---------- 应用场景 ---------- */
.ht-scenarios { padding: 80px 0; background: #f8fafc; }
.ht-scenarios .ht-scenarios-img {
  max-width: 960px; margin: 0 auto;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.ht-scenarios .ht-scenarios-img img { width: 100%; display: block; }
.ht-scenarios .ht-scenarios-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 40px;
}
.ht-scenario-card {
  background: #fff; border-radius: 14px; padding: 24px 16px;
  border: 1px solid #eef2f6; text-align: center;
  transition: all 0.35s;
}
.ht-scenario-card:hover {
  transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}
.ht-scenario-card .ht-scenario-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #e0f2fe, #cffafe);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #0284c7; margin: 0 auto 14px;
  transition: all 0.3s;
}
.ht-scenario-card:hover .ht-scenario-icon { background: linear-gradient(135deg, #0284c7, #06b6d4); color: #fff; }
.ht-scenario-card h3 { font-size: 15px; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
.ht-scenario-card p { font-size: 12px; color: #64748b; line-height: 1.6; margin: 0; }

/* ---------- 设备选型 ---------- */
.ht-devices { padding: 80px 0; background: #fff; }
.ht-device-table {
  max-width: 1000px; margin: 0 auto;
  background: #fff; border-radius: 16px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.06);
  border: 1px solid #eef2f6; overflow: hidden;
}
.ht-device-table table { width: 100%; border-collapse: collapse; }
.ht-device-table thead { background: linear-gradient(135deg, #0c4a6e, #0284c7); }
.ht-device-table thead th {
  padding: 16px 20px; text-align: left; font-size: 14px; font-weight: 700; color: #fff;
}
.ht-device-table thead th:last-child { text-align: center; }
.ht-device-table tbody td {
  padding: 16px 20px; font-size: 14px; color: #475569;
  border-bottom: 1px solid #f1f5f9;
}
.ht-device-table tbody td:nth-child(3) { font-weight: 700; color: #0284c7; }
.ht-device-table tbody td:nth-child(4) { text-align: center; }
.ht-device-table tbody tr:hover { background: #f0f9ff; }
.ht-device-table tbody tr:last-child td { border-bottom: none; }
.ht-device-note { text-align: center; margin-top: 20px; font-size: 13px; color: #94a3b8; }

/* ---------- 通讯方式 ---------- */
.ht-comms { padding: 80px 0; background: radial-gradient(ellipse at 50% 0%, #f0f9ff 0%, #f8fafc 60%); }
.ht-comm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.ht-comm-card {
  background: #fff; border-radius: 14px; padding: 30px 20px;
  border: 1px solid #eef2f6; text-align: center;
  transition: all 0.35s;
}
.ht-comm-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,0,0,0.08); }
.ht-comm-card .ht-comm-icon {
  width: 56px; height: 56px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff; margin: 0 auto 14px;
}
.ht-comm-card:nth-child(1) .ht-comm-icon { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.ht-comm-card:nth-child(2) .ht-comm-icon { background: linear-gradient(135deg, #0284c7, #06b6d4); }
.ht-comm-card:nth-child(3) .ht-comm-icon { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.ht-comm-card:nth-child(4) .ht-comm-icon { background: linear-gradient(135deg, #6366f1, #818cf8); }
.ht-comm-card h3 { font-size: 17px; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
.ht-comm-card p { font-size: 13px; color: #64748b; line-height: 1.6; margin: 0; }

/* ---------- CTA ---------- */
.ht-cta {
  padding: 90px 0; position: relative;
  background: radial-gradient(ellipse at 40% 30%, #0c4a6e 0%, #051a3a 60%, #020e22 100%);
  overflow: hidden;
}
.ht-cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
}
.ht-cta .container { position: relative; z-index: 2; text-align: center; }
.ht-cta h2 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.ht-cta p { font-size: 17px; color: rgba(255,255,255,0.65); margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }
.ht-cta .ht-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.ht-faq { padding: 80px 0; background: #fff; }
.ht-faq .ht-faq-list { max-width: 780px; margin: 0 auto; }
.ht-faq .ht-faq-item {
  border: 1px solid #eef2f6; border-radius: 12px;
  margin-bottom: 16px; overflow: hidden;
  transition: all 0.3s;
}
.ht-faq .ht-faq-item:hover { border-color: #cbd5e1; }
.ht-faq .ht-faq-q {
  padding: 18px 22px; font-size: 16px; font-weight: 700; color: #1e293b;
  background: #f8fafc; cursor: default;
  display: flex; align-items: center; gap: 10px;
}
.ht-faq .ht-faq-q i { color: #0284c7; font-size: 14px; }
.ht-faq .ht-faq-a {
  padding: 18px 22px; font-size: 14px; color: #475569;
  line-height: 1.75; border-top: 1px solid #f1f5f9;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .ht-banner .ht-banner-pic { flex: 0 0 380px; }
  .ht-features .ht-feat-grid { grid-template-columns: repeat(2, 1fr); }
  .ht-scenarios .ht-scenarios-grid { grid-template-columns: repeat(3, 1fr); }
  .ht-comm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .ht-banner { min-height: auto; padding: 80px 0 40px; text-align: center; }
  .ht-banner-text h1 { font-size: 30px; }
  .ht-banner-text p { margin-left: auto; margin-right: auto; }
  .ht-banner-text .ht-btn-group { justify-content: center; }
  .ht-banner .ht-banner-pic { flex: 0 0 100%; max-width: 100%; margin-top: 30px; }
  .ht-stats-strip .container { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ht-overview .ht-overview-grid { grid-template-columns: 1fr; }
  .ht-features .ht-feat-grid { grid-template-columns: 1fr; }
  .ht-scenarios .ht-scenarios-grid { grid-template-columns: repeat(2, 1fr); }
  .ht-comm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ht-banner-text h1 { font-size: 26px; }
  .ht-stats-strip .container { grid-template-columns: 1fr; }
  .ht-device-table { overflow-x: auto; }
  .ht-scenarios .ht-scenarios-grid { grid-template-columns: 1fr; }
}