/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  color: #1f2329;
  background-color: #f5f5f5;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== Header ===== */
.jl-header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.jl-container {
  max-width: 100%;
  margin: auto;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.jl-logo {
  font-size: 24px;
  margin-left: 20px;
  font-weight: 700;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #000000ff, #2980b9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.jl-nav {
  display: flex;
  margin-left: 200px;
  gap: 70px;
  align-items: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ===== Dropdown ===== */
.jl-dropdown {
  position: relative;
}

.jl-dropdown-title {
  display: inline-block;
  padding: 8px 0;
  cursor: pointer;
  position: relative;
  z-index: 10;
  padding-right: 20px;
}

.jl-dropdown-title::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6;
  transition: transform 0.3s;
}

.jl-dropdown:hover .jl-dropdown-title::after {
  transform: translateY(-50%) rotate(180deg);
}

.jl-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 900px;
  display: flex;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 100;
  margin-top: 7px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  padding-top: 5px;
}

/* 为标题和面板之间的间隙创建一个隐藏的悬停区域 */
.jl-dropdown {
  position: relative;
}

.jl-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 15px;
  margin-top: -5px;
  z-index: 99;
}

.jl-dropdown:hover .jl-dropdown-panel,
.jl-dropdown-panel:hover,
.jl-dropdown:hover::before {
  visibility: visible;
  opacity: 1;
}

.jl-dropdown-left {
  width: 300px;
  background: #f5f5f5;
  padding: 40px;
}

.jl-dropdown-right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  background: #ffffffff;
  padding: 24px;
}

.jl-dropdown-right a {
  display: block;
  padding: 16px;
  border-radius: 8px;
  transition: background 0.3s;
}

.jl-dropdown-right a:hover {
  background: #f5f5f5;
}

.solution-item h4 {
  margin-bottom: 8px;
  font-size: 16px;
}

.solution-item p {
  font-size: 14px;
  opacity: 0.8;
}

/* ===== 产品下拉菜单平铺样式 - 类似解决方案风格 ===== */
.jl-dropdown-right.product-menu-flat {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  background: #fff;
  min-width: 600px;
  max-width: 800px;
}

/* 每一行 */
.menu-row {
  display: flex;
  align-items: baseline;
  padding: 4px 20px;
}

/* 行标题（一级菜单） */
.menu-row-title {
  width: 140px;
  flex-shrink: 0;
  padding-right: 16px;
}

.menu-row-title h4 {
  font-size: 14px;
  font-weight: 500;
  color: #1f2329;
  margin: 0;
  line-height: 32px;
}

/* 行内容（二级菜单列表） */
.menu-row-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  flex: 1;
  align-content: flex-start;
}

/* 二级菜单项 - 类似解决方案：不悬浮只有文字，悬浮显示背景 */
.menu-row-item {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  margin: 2px 4px 2px 0;
  border-radius: 4px;
  transition: all 0.2s;
  text-decoration: none;
  background: transparent;
  border: none;
  line-height: 20px;
}

.menu-row-item:hover {
  background: #f0f7ff;
}

.menu-row-item span {
  font-size: 13px;
  color: #4e5969;
  white-space: nowrap;
}

.menu-row-item:hover span {
  color: #1677ff;
}

/* ===== Button ===== */
.jl-btn {
  display: inline-block;
  margin-top: 20px;
  margin-left: 35px;
  padding: 12px 32px;
  border-radius: 6px;
  background: #1677ff;
  color: #fff;
}

/* ================= 容器 ================= */
.container,
.home-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 16px;
}

/* ================= Hero ================= */
.jl-hero,
.home-hero {
  padding: 200px 0 160px;
  background: linear-gradient(180deg, #0b1c2d, #0e2a47);
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.jl-hero h1,
.home-hero h1 {
  font-size: 44px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.jl-hero p,
.home-hero p {
  font-size: 18px;
  margin: 16px 0 32px;
  opacity: .85;
}

/* ================= Grid ================= */
.grid-3,
.feature-grid,
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ================= Features ================= */
.home-features {
  padding: 80px 0;
  background: #fff;
}

.feature,
.feature-card {
  background: #f7f8fa;
  padding: 24px;
  border-radius: 8px;
  transition: .3s;
}

.feature:hover,
.feature-card:hover {
  transform: translateY(-6px);
}

/* ================= Architecture ================= */
.home-arch {
  background: #f5f7fa;
  padding: 96px 0;
  text-align: center;
}

.home-arch img {
  max-width: 1100px;
  width: 100%;
  margin-bottom: 24px;
}

/* ================= Solutions ================= */
.home-solutions {
  padding: 80px 0;
}

.solution,
.solution-card {
  padding: 28px;
  background: #fff;
  border-radius: 8px;
  transition: .3s;
}

.solution:hover,
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,.1);
}

/* ================= Cases ================= */
.home-cases {
  padding: 80px 0;
  background: #fafafa;
}

.case-item {
  margin-bottom: 32px;
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.case-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.case-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.case-item p {
  color: #666;
  line-height: 1.6;
}

/* ================= CTA ================= */
.home-cta {
  background: #1677ff;
  padding: 96px 0;
  text-align: center;
  color: #fff;
}
/* ===== 技术架构-视频活动位同款 ===== */
.arch-video-activity-wrapper{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.arch-video-activity-text-wrapper{
  flex: 1;
  max-width: 560px;
}
.arch-badge{
  display: inline-block;
  font-size: 16px;
  line-height: 18px;
  padding: 4px 10px;
  background: var(--theme-color, #495AD4);
  color: #fff;
  border-radius: 6px;
  margin-bottom: 16px;
}
.arch-title{
  font-size: 36px;
  font-weight: 700;
  line-height: 48px;
  color: #1f2329;
  margin: 0 0 16px;
}
.arch-title-sub{
  color: var(--theme-color, #495AD4);
}
.arch-desc{
  font-size: 15px;
  line-height: 1.8;
  color: #666;
}

/* 右侧视频/图片 */
.arch-video-box{
  flex: 1;
  max-width: 600px;
}
.arch-activity-video,
.arch-activity-img{
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* 响应式 */
@media (max-width: 768px){
  .arch-video-activity-wrapper{
    flex-direction: column;
  }
  .arch-title{
    font-size: 28px;
    line-height: 38px;
  }
}
/* ===== 解决方案 - 4 列卡片 ===== */
.sol-header {
  text-align: center;
  margin-bottom: 48px;
}
.sol-title {
  font-size: 32px;
  font-weight: 700;
  color: #1f2329;
  margin-bottom: 8px;
}
.sol-subtitle {
  font-size: 18px;
  color: #666;
}

/* 4 列网格 */
.sol-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 单卡片 */
.sol-card {
  display: block;
  background: #fff;
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.sol-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* 图标 */
.sol-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
}

/* 文字 */
.sol-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2329;
  margin-bottom: 8px;
}
.sol-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 响应式 */
@media (max-width: 992px) {
  .sol-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .sol-grid-4 {
    grid-template-columns: 1fr;
  }
}
/* ========== 智慧园区独立页 ========== */
.sol-banner{
  padding: 140px 0 100px;
  background: linear-gradient(180deg,#0b1c2d,#0e2a47);
  color: #fff;
  text-align: center;
}
.sol-banner h1{
  font-size: 40px;
  margin-bottom: 12px;
}
.sol-banner p{
  font-size: 18px;
  opacity: .85;
}

.sol-pain, .sol-strategy, .sol-functions, .sol-arch{
  padding: 80px 0;
}
.sol-pain h2, .sol-strategy h2, .sol-functions h2, .sol-arch h2{
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
  color: #1f2329;
}

/* 痛点卡片 */
.pain-grid{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.pain-card{
  background: #f7f8fa;
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  transition: .3s;
}
.pain-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}
.pain-card img{
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}
.pain-card h3{
  font-size: 18px;
  margin-bottom: 8px;
  color: #1f2329;
}
.pain-card p{
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* 解决策略 */
.strategy-grid{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.strategy-card{
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: .3s;
}
.strategy-card:hover{
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.strategy-num{
  font-size: 32px;
  font-weight: 700;
  color: var(--theme-color, #495AD4);
  flex-shrink: 0;
}
.strategy-text h3{
  font-size: 18px;
  margin-bottom: 6px;
  color: #1f2329;
}
.strategy-text p{
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* 核心功能 */
.func-grid{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
}
.func-card{
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: .3s;
}
.func-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.func-no{
  font-size: 28px;
  font-weight: 700;
  color: var(--theme-color, #495AD4);
  margin-bottom: 12px;
}
.func-card h3{
  font-size: 16px;
  margin-bottom: 8px;
  color: #1f2329;
}
.func-card p{
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* 架构图 */
.sol-arch img{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* 移动端 */
@media (max-width: 768px){
  .pain-grid, .func-grid{
    grid-template-columns: 1fr;
  }
}
/* ===== 产品中心 ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* .container.narrow {
  max-width: 900px;
} */

/* ===== Hero ===== */
.iot-hero {
  padding: 140px 0 120px;
  background: radial-gradient(800px 400px at 20% 0, #eaf2ff, transparent),
              radial-gradient(800px 400px at 80% 0, #edf7ff, transparent),
              linear-gradient(#f7faff, #f1f5fb);
  text-align: center;
}

.iot-hero h1 {
  font-size: 44px;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 22px;
  font-weight: 500;
}

.hero-desc {
  margin-top: 8px;
  color: #5f6b7a;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ===== Button ===== */
.btn {
  padding: 10px 26px;
  border-radius: 6px;
  font-size: 14px;
}
.btn.primary {
  background: #1677ff;
  color: #fff;
}
.btn.ghost {
  border: 1px solid #1677ff;
  color: #1677ff;
}
.btn.large {
  font-size: 16px;
  padding: 14px 36px;
}

/* ===== Section ===== */
.iot-section {
  padding: 100px 0;
}
.bg-soft {
  background: #f7f9fc;
}

.section-title {
  font-size: 32px;
  margin-bottom: 24px;
}
.section-title.center {
  text-align: center;
}

.section-subtitle {
  font-size: 16px;
  color: #5f6b7a;
  margin-bottom: 48px;
}
.section-subtitle.center {
  text-align: center;
}

.section-desc {
  font-size: 16px;
  color: #5f6b7a;
}

/* ===== 对比 ===== */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.compare-box {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.compare-box h2 {
  text-align: center;
}
.compare-box.highlight {
  border: 2px solid #1677ff;
}
.compare-box ul {
  margin-top: 16px;
}
.compare-box li {
  margin-bottom: 10px;
}

/* ===== 产品概述 ===== */
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.intro-text p {
  margin-bottom: 16px;
  color: #4e5969;
  line-height: 1.8;
}

.intro-media video {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

/* ===== 产品系列 ===== */
.product-series-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.product-series-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e8e8e8;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.product-series-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: #1677ff;
}

.product-series-icon {
  width: 100%;
  height: 180px;
  margin: -24px -24px 20px;
  width: calc(100% + 48px);
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-series-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-series-card:hover .product-series-icon img {
  transform: scale(1.05);
}

.product-series-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
  color: #1f2329;
  font-weight: 500;
}

.product-series-card p {
  font-size: 13px;
  color: #8c8c8c;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1200px) {
  .product-series-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .product-series-grid {
    grid-template-columns: 1fr;
  }
}

/* 响应式 */
@media (max-width: 960px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== 优势 ===== */
.compare-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.compare-card {
  background: #f3f8ff;
  border-radius: 20px;
  padding: 36px;
}

.compare-card h3 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 24px;
}

.compare-card ul {
  list-style: none;
}

.compare-card li {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.compare-card p {
  margin-top: 6px;
  font-size: 14px;
  color: #6b778c;
}

.icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.icon.danger {
  background: #ff4d4f;
  color: #fff;
}

.icon.success {
  background: #52c41a;
  color: #fff;
}

/* VS */
.compare-vs {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  font-weight: 600;
  color: #1677ff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

/* 响应式 */
@media (max-width: 960px) {
  .compare-wrap {
    grid-template-columns: 1fr;
  }
  .compare-vs {
    margin: 0 auto;
  }
}


/* ===== 系统管理 ===== */
.system-image {
  margin-top: 40px;
  text-align: center;
}

.system-image img {
  width: 100%;
  max-width: 50%;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}


/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .compare-grid,
  .feature-grid,
  .solution-grid {
    grid-template-columns: 1fr;
  }
  .core-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
