/* ============================================
   V5.2 - Hero监控系统模拟器重做 + 全局大气化
   ============================================ */

/* ===== 1. 设备模拟器 - 大气重做 ===== */
.device-mockup {
  max-width: 520px !important;
  border-radius: 20px !important;
  border: 1px solid #e8ecf2 !important;
  box-shadow: 0 24px 80px rgba(0,82,217,0.12), 0 8px 32px rgba(0,0,0,0.06) !important;
  overflow: hidden !important;
  background: #fff !important;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.5s ease !important;
}

.device-mockup:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 32px 96px rgba(0,82,217,0.18), 0 12px 40px rgba(0,0,0,0.08) !important;
}

/* 头部标题栏 */
.hero .screen-header {
  background: linear-gradient(135deg, #f8f9fb 0%, #f0f5ff 100%) !important;
  border-bottom: 1px solid #e8ecf2 !important;
  padding: 14px 22px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.screen-dot {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  display: inline-block !important;
}

.screen-dot.red { background: #ff5f57 !important; }
.screen-dot.yellow { background: #febc2e !important; }
.screen-dot.green { background: #28c840 !important; }

.hero .screen-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1a1a2e !important;
  margin-left: 10px !important;
  letter-spacing: 0.5px !important;
}

/* 内容区 */
.hero .screen-body {
  padding: 20px 22px 24px !important;
  background: #fff !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

/* 摄像头行 */
.hero .screen-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 12px 16px !important;
  border-radius: 10px !important;
  border-bottom: none !important;
  transition: all 0.25s ease !important;
}

.hero .screen-row:hover {
  background: #f0f5ff !important;
}

.hero .screen-row .item-name {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #333 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.hero .screen-row span:last-child {
  font-size: 13px !important;
}

/* 分隔线 */
.screen-divider {
  height: 1px !important;
  background: linear-gradient(90deg, transparent, #e8ecf2, transparent) !important;
  margin: 14px 0 !important;
}

/* 统计行 */
.hero .screen-total {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  color: #555 !important;
  border-radius: 8px !important;
}

.hero .screen-total .total-price {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0052d9 !important;
}

/* ===== 2. Hero整体区域大气化 ===== */
.hero-content {
  max-width: 1360px !important;
}

.hero-content > div:first-child {
  max-width: 600px !important;
}

.hero-visual {
  justify-content: center !important;
  padding-right: 20px !important;
}

/* Hero标题 */
.hero-title {
  font-size: 3.2rem !important;
  line-height: 1.2 !important;
  margin-bottom: 24px !important;
}

/* Hero副标题 */
.hero-subtitle {
  font-size: 17px !important;
  line-height: 1.9 !important;
  margin-bottom: 36px !important;
}

/* Hero徽章 */
.hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 24px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  margin-bottom: 28px !important;
  border-radius: 12px !important;
}

.badge-logo {
  height: 24px !important;
}

/* Hero按钮 */
.hero-actions {
  gap: 16px !important;
  margin-bottom: 40px !important;
}

.hero-actions .btn-primary,
.hero-actions .btn-outline {
  padding: 16px 36px !important;
  font-size: 17px !important;
  border-radius: 12px !important;
}

/* Hero统计 */
.hero-stats {
  gap: 20px !important;
}

.hero-stats .stat-item {
  padding: 18px 24px !important;
  border-radius: 14px !important;
}

.hero-stats .stat-number {
  font-size: 28px !important;
}

.hero-stats .stat-label {
  font-size: 13px !important;
  margin-top: 4px !important;
}

/* 信任徽章条 */
.trust-badges {
  gap: 12px !important;
  margin-top: 28px !important;
}

.trust-badge {
  padding: 10px 18px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  gap: 8px !important;
}

.trust-badge__icon {
  font-size: 18px !important;
}

/* ===== 3. 信任条大气化 ===== */
.trust-bar {
  padding: 40px 0 !important;
}

.trust-bar-inner {
  gap: 32px !important;
}

.trust-item {
  padding: 20px 24px !important;
  border-radius: 16px !important;
  gap: 14px !important;
}

.trust-item .icon {
  font-size: 32px !important;
}

.trust-item strong {
  font-size: 17px !important;
}

.trust-item .label {
  font-size: 13px !important;
}

/* ===== 4. Section间距统一大气化 ===== */
.section-header {
  margin-bottom: 56px !important;
}

.section-tag {
  padding: 8px 24px !important;
  font-size: 14px !important;
  margin-bottom: 20px !important;
}

.section-title {
  font-size: 2.6rem !important;
  margin-bottom: 16px !important;
}

.section-desc {
  font-size: 16px !important;
  line-height: 1.9 !important;
}

/* ===== 5. 产品卡大气化 ===== */
.product-card, .service-card {
  padding: 36px 28px !important;
  border-radius: 20px !important;
}

.product-card:hover, .service-card:hover {
  transform: translateY(-8px) !important;
}

/* ===== 6. 关于我们大气化 ===== */
.about-layout {
  gap: 48px !important;
}

.about-text .about-desc {
  font-size: 16px !important;
  line-height: 2 !important;
  margin-bottom: 32px !important;
}

.about-values {
  gap: 20px !important;
}

.value-item {
  padding: 24px !important;
  border-radius: 16px !important;
  gap: 16px !important;
}

.value-icon {
  font-size: 28px !important;
}

.value-item h4 {
  font-size: 17px !important;
  margin-bottom: 6px !important;
}

.value-item p {
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.about-stat-card {
  padding: 28px 20px !important;
  border-radius: 18px !important;
}

.about-stat-num {
  font-size: 36px !important;
}

/* ===== 7. 联系我们大气化 ===== */
.contact-layout {
  gap: 40px !important;
}

.contact-info-card {
  padding: 28px !important;
  border-radius: 16px !important;
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.4rem !important;
  }
  .device-mockup {
    max-width: 420px !important;
  }
  .section-title {
    font-size: 2rem !important;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem !important;
    margin-bottom: 16px !important;
  }
  .hero-subtitle {
    font-size: 15px !important;
    margin-bottom: 24px !important;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    padding: 14px 28px !important;
    font-size: 15px !important;
  }
  .device-mockup {
    max-width: 100% !important;
  }
  .section-title {
    font-size: 1.6rem !important;
  }
  .section-header {
    margin-bottom: 36px !important;
  }
  .trust-bar {
    padding: 28px 0 !important;
  }
  .badge-logo {
    height: 18px !important;
  }
}

/* ===== 深蓝区保护：防止交替背景覆盖内联渐变 ===== */
.deep-section {
  background-attachment: initial !important;
  position: relative !important;
  overflow: hidden !important;
}

.deep-section h2,
.deep-section h3,
.deep-section p,
.deep-section li,
.deep-section span,
.deep-section a {
  color: #fff !important;
}

.deep-section .gradient-text {
  background: linear-gradient(135deg, #60a5fa, #38bdf8) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Section 9 (服务流程) 确保深色文字在浅色背景上 */
.section[style*="bg-light"] h2,
.section[style*="bg-light"] h3 {
  color: #1a1a2e !important;
}

.section[style*="bg-light"] p {
  color: #555 !important;
}

/* ===== 关于我们 - 双栏布局 ===== */
.about-layout {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr !important;
  gap: 56px !important;
  align-items: start !important;
}

.about-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 28px !important;
}

.about-desc {
  font-size: 16px !important;
  line-height: 2 !important;
  color: #444 !important;
  margin-bottom: 12px !important;
}

.about-values {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.value-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  padding: 22px 24px !important;
  border-radius: 16px !important;
  background: #fff !important;
  border: 1px solid #eef0f4 !important;
  transition: all 0.3s ease !important;
}

.value-item:hover {
  border-color: rgba(0,82,217,0.15) !important;
  box-shadow: 0 4px 16px rgba(0,82,217,0.06) !important;
  transform: translateX(4px) !important;
}

.value-icon {
  font-size: 28px !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

.value-item h4 {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #1a1a2e !important;
  margin-bottom: 6px !important;
}

.value-item p {
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: #555 !important;
  margin: 0 !important;
}

/* 关于我们 - 右侧数据卡片 */
.about-visual {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.about-cards {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}

.about-stat-card {
  background: #fff !important;
  border: 1px solid #eef0f4 !important;
  border-radius: 20px !important;
  padding: 32px 20px !important;
  text-align: center !important;
  transition: all 0.3s ease !important;
}

.about-stat-card:hover {
  border-color: rgba(0,82,217,0.2) !important;
  box-shadow: 0 8px 28px rgba(0,82,217,0.08) !important;
  transform: translateY(-4px) !important;
}

.about-stat-num {
  display: block !important;
  font-size: 38px !important;
  font-weight: 800 !important;
  color: #0052d9 !important;
  line-height: 1.2 !important;
  margin-bottom: 6px !important;
}

.about-stat-num sup {
  font-size: 18px !important;
  font-weight: 700 !important;
}

.about-stat-label {
  display: block !important;
  font-size: 14px !important;
  color: #888 !important;
  font-weight: 500 !important;
}

/* ===== FAQ - 大气化 ===== */
.faq-grid {
  max-width: 880px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.faq-item {
  background: #fff !important;
  border: 1px solid #eef0f4 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
}

.faq-item:hover {
  border-color: rgba(0,82,217,0.15) !important;
}

.faq-item.open {
  border-color: #0052d9 !important;
  box-shadow: 0 4px 20px rgba(0,82,217,0.08) !important;
}

.faq-q {
  padding: 22px 28px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1a1a2e !important;
  cursor: pointer !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  transition: all 0.25s ease !important;
  line-height: 1.5 !important;
}

.faq-q:hover {
  background: #f8f9fb !important;
}

.faq-q::after {
  content: '+' !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #0052d9 !important;
  flex-shrink: 0 !important;
  margin-left: 16px !important;
  transition: transform 0.3s ease !important;
}

.faq-item.open .faq-q::after {
  content: '−' !important;
  transform: rotate(180deg) !important;
}

.faq-a {
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.4s ease !important;
}

.faq-item.open .faq-a {
  max-height: 300px !important;
}

.faq-a-inner {
  padding: 0 28px 22px !important;
  font-size: 15px !important;
  color: #555 !important;
  line-height: 1.8 !important;
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .about-layout {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
}

@media (max-width: 768px) {
  .about-cards {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .about-stat-card {
    padding: 24px 16px !important;
  }
  .about-stat-num {
    font-size: 28px !important;
  }
  .faq-q {
    padding: 18px 20px !important;
    font-size: 15px !important;
  }
  .faq-a-inner {
    padding: 0 20px 18px !important;
    font-size: 14px !important;
  }
}
