/* style.css */
body {
  font-family: "Segoe UI", sans-serif;
  transition: background 0.5s, color 0.5s;
}
body.light {
  background-color: #f0f3f8;
  color: #111;
}
/* 浅色模式：相邻 section 交替背景，便于区分区块 */
body.light > section.section:nth-child(odd) {
  background-color: #e3e9f2;
}
body.light > section.section:nth-child(even) {
  background-color: #f6f7fb;
}
body.dark {
  background-color: #0B0F1A;
  color: #fff;
}
.navbar {
  backdrop-filter: blur(10px);
}
.navbar .navbar-nav {
  gap: 1.5rem;
}
body.dark .navbar .nav-link,
body.dark .navbar .navbar-brand {
  color: #fff;
}
body.light .navbar .nav-link,
body.light .navbar .navbar-brand {
  color: #111;
}
body.light .navbar.scrolled {
  background: #111;
}
body.light .navbar.scrolled .nav-link,
body.light .navbar.scrolled .navbar-brand {
  color: #fff;
}
body.dark .navbar.scrolled {
  background: #fff;
}
body.dark .navbar.scrolled .nav-link,
body.dark .navbar.scrolled .navbar-brand {
  color: #111;
}
.navbar .nav-link:hover {
  color: #3B82F6;
}
.btn-glow {
  background: linear-gradient(90deg, #3B82F6, #06B6D4);
  border: none;
  box-shadow: 0 0 15px rgba(59,130,246,0.7);
  transition: all 0.3s;
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(59,130,246,0.9);
}
.card {
  border: none;
  border-radius: 12px;
  transition: 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(59,130,246,0.5);
}
.section {
  padding: 120px 0;
}
.solutions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.solutions-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.solutions-title-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,0.9);
  color: #fff;
}
.solutions-title {
  font-size: 1.8rem;
  text-align: left;
}
.solutions-title small {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}
.solutions-nav-buttons {
  display: flex;
  gap: 8px;
}
.section-heading {
  margin-bottom: 2rem;
}
#product-security,
#product-perftest,
#product-disaster,
#product-storage {
  scroll-margin-top: 80px;
}
.solution-card {
  text-align: center;
}
.solution-image-wrap {
  position: relative;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
}
.solution-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.solution-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}
.solution-detail-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  padding: 4px 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 2;
}
.product-series-grid .product-image-wrap {
  aspect-ratio: 4 / 3;
  background: rgba(0, 0, 0, 0.04);
}
.product-series-grid .product-image-wrap img {
  height: 100%;
  object-fit: contain;
}
.solution-image-wrap:hover::after,
.solution-image-wrap:focus-within::after {
  opacity: 1;
}
.solution-image-wrap:hover .solution-detail-btn,
.solution-image-wrap:focus-within .solution-detail-btn {
  opacity: 1;
  pointer-events: auto;
}
.solution-card h5 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.solution-card .stars {
  color: #fbbf24;
  letter-spacing: 2px;
  font-size: 0.95rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3B82F6;
  color: #fff;
  border-radius: 12px;
  font-size: 1.35rem;
  line-height: 1;
  flex: 0 0 auto;
}
.contact-item-title {
  font-size: 1.15rem;
  font-weight: 650;
  margin-bottom: 4px;
}
.contact-item-text {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.6;
  word-break: break-word;
}
body.dark .contact-item-title {
  color: #e5e7eb;
}
body.dark .contact-item-text {
  color: #d1d5db;
}
.customers-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  text-align: center;
}
body.dark .customers-heading {
  color: #d1d5db;
}
.customer-logos .customer-logo {
  max-height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.icon {
  font-size: 40px;
  color: #3B82F6;
  margin-bottom: 15px;
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 767.98px) {
  .navbar .navbar-nav {
    gap: 0.25rem;
  }
  .navbar .nav-link {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    line-height: 1.2;
  }
  .section .row [class*="col-"] .card {
    margin-bottom: 5px;
  }
  .solutions-header {
    align-items: flex-start;
    gap: 12px;
  }
  .solutions-title {
    font-size: 1.3rem;
  }
  .solutions-title small {
    display: block;
    margin-top: 2px;
    font-size: 0.85rem;
  }
  .solution-card img {
    height: 180px;
  }
  .contact-item {
    gap: 12px;
    margin-bottom: 22px;
  }
  .contact-item-icon {
    font-size: 1.45rem;
    width: 42px;
    height: 42px;
  }
  .contact-item-title {
    font-size: 1.15rem;
  }
  .contact-item-text {
    font-size: 1rem;
  }
}
footer {
  background-color: #020617;
  padding: 40px 0;
  text-align: center;
  color: #aaa;
}
footer a {
  color: #aaa;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
input, button {
  border-radius: 8px;
}
.navbar .dropdown-menu {
  text-align: center;
}
.navbar .dropdown-menu .dropdown-item {
  text-align: center;
}

/* main-lcfe-section: 标准产品详情区块样式 */
body.light > section.section.main-lcfe-section {
  background-color: #f6f7fb;
  background-image: none;
  box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.14), 0 6px 14px -4px rgba(15, 23, 42, 0.08);
  margin-bottom: 1.25rem;
}
body.light > section.section.main-lcfe-section:last-of-type {
  margin-bottom: 0;
}
body.dark .main-lcfe-section {
  background: linear-gradient(180deg, #151515 0%, #000000 55%);
  color: #fff;
}
body.dark .main-lcfe-section .solutions-title small {
  color: rgba(255, 255, 255, 0.7);
}
.main-lcfe-section {
  box-shadow: 0 8px 18px -14px rgba(15, 23, 42, 0.22);
}
body.dark .main-lcfe-section {
  box-shadow: 0 10px 22px -14px rgba(0, 0, 0, 0.75);
}
.main-lcfe-section:hover {
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.45);
  transform: translateY(-2px);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
body.dark .main-lcfe-section:hover {
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.75);
}
.main-lcfe-section .solutions-header.section-heading {
  width: 100%;
  padding: 0.35rem 0 1.2rem;
  margin-bottom: 1.75rem;
  background: transparent;
  border-bottom: 1px solid rgba(15, 23, 42, 0.09);
}
body.dark .main-lcfe-section .solutions-header.section-heading {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.main-lcfe-section.pt-0 {
  padding-top: 60px !important;
}