html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 自定义主题颜色 */
.bg-gradient-primary {
  background: linear-gradient(135deg, #0061f2 0%, #6b7bff 100%);
}

.text-primary {
  color: #0061f2 !important;
}

.text-secondary {
  color: #6c757d !important;
}

.text-warning {
  color: #ffc107 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

/* 导航栏样式 */
.navbar-brand {
  font-size: 1.75rem;
}

.nav-link:hover {
  color: #ffffff !important;
}

.hover-text-white:hover {
  color: #ffffff !important;
}

/* 下拉菜单样式 */
.dropdown-menu {
  border: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
}

.dropdown-item {
  padding: 0.75rem 1.25rem;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

/* 英雄区域样式 */
.hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #dee2e6;
}

/* 产品卡片样式 */
.product-card {
  border: none;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.175) !important;
}

.product-icon-wrapper {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon-large {
  font-size: 8rem;
  opacity: 0.3;
}

/* 特性卡片样式 */
.feature-card {
  border: none;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

/* 软背景色 */
.bg-primary-soft {
  background-color: rgba(0, 97, 242, 0.1);
}

.bg-success-soft {
  background-color: rgba(25, 135, 84, 0.1);
}

.bg-danger-soft {
  background-color: rgba(220, 53, 69, 0.1);
}

.bg-warning-soft {
  background-color: rgba(255, 193, 7, 0.1);
}

.bg-info-soft {
  background-color: rgba(13, 202, 240, 0.1);
}

.bg-secondary-soft {
  background-color: rgba(108, 117, 125, 0.1);
}

/* 产品列表样式 */
.product-list .product-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1rem;
  border-radius: 0.5rem;
}

.product-list .product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* 卡片样式 */
.card {
  border: none;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.175) !important;
}

/* 面包屑导航 */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
}

.breadcrumb-item a {
  color: #0061f2;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

/* 页脚样式 */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

/* 响应式调整 */
@media (max-width: 767px) {
  .hero-section {
    padding: 2rem 0 !important;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .card {
    border-radius: 0.75rem;
  }
  
  .product-icon-wrapper {
    width: 80px;
    height: 80px;
  }
  
  .product-icon-wrapper i {
    font-size: 2rem !important;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .d-flex.gap-2,
  .d-flex.gap-3 {
    flex-direction: column;
    align-items: center;
  }
  
  .d-flex.gap-2 .btn,
  .d-flex.gap-3 .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}