/* ================================================================
Solution / 方案 Detail Page
   ================================================================ */

/* ---------- Banner ---------- */
.fg-banner {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.fg-banner__bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-color: #0e121c;
}
.fg-banner__overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0, 0, 0, 0.50);
}
.fg-banner__content {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 0 40px;
}
.fg-banner__tag {
  font-size: 12px;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.60);
  text-transform: uppercase;
  margin: 0 0 18px;
}
.fg-banner__content h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 4px;
  margin: 0 0 16px;
  line-height: 1.3;
}
.fg-banner__content p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 2px;
  margin: 0;
}

/* ---------- 面包屑 ---------- */
.fg-breadcrumb {
  background: #f5f5f5;
  border-bottom: 1px solid #e8e8e8;
}
.fg-breadcrumb .fg-bc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
  box-sizing: border-box;
}
.fg-breadcrumb a { color: #666; text-decoration: none; }
.fg-breadcrumb a:hover { color: #E8890C; }
.fg-breadcrumb__sep { color: #bbb; font-size: 11px; }
.fg-breadcrumb__cur { color: #E8890C; }

/* ---------- 方案概述 ---------- */
.fg-overview {
  background: #fff;
  padding: 80px 0 60px;
}
.fg-overview__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
.fg-overview__text {
  font-size: 16px;
  color: #333;
  line-height: 2;
  margin: 0 0 50px;
}
.fg-overview__img-full {
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
  line-height: 0;
}
.fg-overview__img-main {
  width: 100%;
  display: block;
  max-height: 620px;
  object-fit: cover;
}

/* ---------- 方案特点 ---------- */
.fg-features {
  background: #f5f5f6;
  padding: 80px 0;
}
.fg-features__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
.fg-sec-title {
  text-align: center;
  margin-bottom: 56px;
}
.fg-sec-title h2 {
  font-size: 34px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 14px;
  line-height: 1.3;
}
.fg-sec-title p {
  font-size: 15px;
  color: #999;
  margin: 0;
  line-height: 1.7;
}
.fg-sec-title__bar {
  width: 44px;
  height: 3px;
  background: #E8890C;
  margin: 14px auto 16px;
}
/* dark title variant for dark bg */
.fg-sec-title--dark h2 { color: #fff; }
.fg-sec-title--dark p { color: rgba(255,255,255,0.45); }

.fg-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.fg-features__item {
  background: #fff;
  padding: 34px 28px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-bottom: 3px solid transparent;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.22s;
}
.fg-features__item:hover {
  border-bottom-color: #E8890C;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}
.fg-features__icon {
  width: 50px;
  height: 50px;
  background: rgba(232, 137, 12, 0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  font-size: 22px;
  color: #E8890C;
  font-weight: 700;
  line-height: 1;
}
.fg-features__feat-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 12px;
  line-height: 1.4;
}
.fg-features__feat-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

/* ---------- 相关产品 ---------- */
.fg-products {
  background: #fff;
  padding: 80px 0;
}
.fg-products__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
.fg-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.fg-products__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 2px;
  transition: transform 0.22s, box-shadow 0.22s;
}
.fg-products__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}
.fg-products__card-img-wrap {
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
  background: #f5f5f5;
}
.fg-products__card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.38s ease;
}
.fg-products__card:hover .fg-products__card-img { transform: scale(1.06); }
.fg-products__card-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.fg-products__card-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px;
  line-height: 1.4;
  transition: color 0.2s;
}
.fg-products__card:hover .fg-products__card-name { color: #E8890C; }
.fg-products__card-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.65;
  margin: 0;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.fg-products__card-arrow {
  display: block;
  font-size: 18px;
  color: #E8890C;
  margin-top: 12px;
  line-height: 1;
  transition: transform 0.2s;
}
.fg-products__card:hover .fg-products__card-arrow { transform: translateX(4px); }

/* ---------- 更多解决方案 ---------- */
.fg-more {
  background: #111213;
  padding: 80px 0;
}
.fg-more__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
.fg-more__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.fg-more__card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 2px;
}
.fg-more__card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1a1d26;
  transition: transform 0.55s ease;
}
.fg-more__card:hover .fg-more__card-bg { transform: scale(1.08); }
.fg-more__card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 22, 0.64);
  transition: background 0.30s;
}
.fg-more__card:hover .fg-more__card-overlay { background: rgba(8, 12, 22, 0.46); }
.fg-more__card-body {
  position: relative;
  z-index: 2;
  padding: 28px 22px 26px;
  margin-top: auto;
  color: #fff;
}
.fg-more__card-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.45;
}
.fg-more__card-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.65;
  margin: 0 0 16px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.fg-more__card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #E8890C;
  letter-spacing: 0.5px;
}
.fg-more__card-link::after {
  content: '→';
  font-size: 13px;
  transition: transform 0.2s;
}
.fg-more__card:hover .fg-more__card-link::after { transform: translateX(5px); }

/* ================================================================
   Responsive
   ================================================================ */

@media (max-width: 1024px) {
  .fg-banner { margin-top: 70px; height: 320px; }
  .fg-banner__content h1 { font-size: 30px; }
  .fg-features__grid { grid-template-columns: repeat(2, 1fr); }
  .fg-products__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .fg-more__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .fg-banner { margin-top: 70px; height: 220px; }
  .fg-banner__content h1 { font-size: 20px; letter-spacing: 2px; }
  .fg-banner__content p { font-size: 13px; letter-spacing: 1px; }

  .fg-overview { padding: 48px 0 36px; }
  .fg-overview__inner,
  .fg-features__inner,
  .fg-products__inner,
  .fg-more__inner { padding: 0 16px; }

  .fg-sec-title { margin-bottom: 28px; }
  .fg-sec-title h2 { font-size: 22px; }

  .fg-features { padding: 48px 0; }
  .fg-features__grid { grid-template-columns: 1fr; gap: 12px; }

  .fg-products { padding: 48px 0; }
  .fg-products__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fg-products__card-img-wrap,
  .fg-products__card-img { height: 140px; }

  .fg-more { padding: 48px 0; }
  .fg-more__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .fg-more__card { min-height: 200px; }
}
