/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 字体变量定义 */
:root {
  --font-primary: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', sans-serif;
  --font-secondary: 'Noto Serif SC', 'SimSun', '宋体', serif;
  --font-display: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', sans-serif;
  
  --primary-color: #e68a35;
  --primary-hover: #E48C3A;
  --secondary-color: #F7DBC5;
  --secondary-hover: #f0cdb3;
  --text-dark: #2c2c2c;
  --text-muted: #666;
}

body {
  font-family: var(--font-primary);
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

/* 导航栏样式 */
.navbar {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark) !important;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.navbar-brand img {
  margin-right: 26px;
}

/* 主菜单样式 */
.main-menu {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0.5rem 0;
  margin: 0;
}

.main-menu .navbar-nav {
  gap: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.main-menu .navbar-nav .nav-link {
  font-family: var(--font-primary);
  color: var(--text-muted) !important;
  padding: 1rem 2rem;
  font-size: 1.25rem;
  font-weight: 500;
  /* text-transform: uppercase; */
  letter-spacing: 0.05em;
  border: none;
  background: none;
  transition: all 0.3s ease;
  position: relative;
  width: max-content;
}

.main-menu .navbar-nav .nav-link::after {
  display: none;
}

.main-menu .navbar-nav .nav-link:hover,
.main-menu .navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  background: none;
  font-weight: 600;
}

.main-menu .navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-menu .navbar-nav .nav-link:hover::before,
.main-menu .navbar-nav .nav-link.active::before {
  width: 60%;
}

/* 按钮样式 */
.btn {
  font-family: var(--font-primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0;
  padding: 0.75rem 2rem;
  border: 1px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

/* 卡片样式 */
.card {
  border: none;
  border-radius: 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  background: #ffffff;
  border-top: 3px solid transparent;
}

.card:hover {
  border-top-color: var(--primary-color);
  box-shadow: 0 4px 30px rgba(228, 140, 58, 0.15);
  transform: translateY(-2px);
}

.card-body {
  padding: 2rem;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.card-text {
  color: #666;
  font-weight: 400;
  line-height: 1.7;
  font-family: var(--font-primary);
}

/* 段落样式 */
p {
  color: #666;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-family: var(--font-primary);
}

/* 图片样式 */
img {
  transition: all 0.3s ease;
}

img:hover {
  opacity: 0.9;
}

/* 分隔线 */
hr {
  border: none;
  height: 1px;
  background-color: #f0f0f0;
  margin: 3rem 0;
}

/* 页脚样式 */
footer {
  background: #1a1a1a !important;
  color: #ffffff;
  font-weight: 300;
  letter-spacing: 0.5px;
  padding: 2rem 0;
  margin-top: 4rem;
}

/* 容器样式 */
.container {
  max-width: 1200px;
  padding: 0 2rem;
}

/* 章节样式 */
section {
  padding: 4rem 0;
  position: relative;
}

section:nth-child(even) {
  background-color: #fafafa;
}

/* 响应式设计 */
@media (max-width: 991px) {
  .main-menu .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }
  
  .main-menu .navbar-nav .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  section {
    padding: 2rem 0;
  }
  
  .card-body {
    padding: 1.5rem;
  }
}

/* 特殊效果 */
.text-muted {
  color: #999 !important;
}

.bg-light {
  background-color: #fafafa !important;
}

/* 时间线样式（用于品牌历史） */
.timeline-bar {
  background: var(--primary-color) !important;
  min-width: 40px;
  height: 1px;
  border-radius: 0;
}

/* 语言切换按钮 */
.btn-link {
  color: var(--text-muted) !important;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-primary);
}

.btn-link:hover {
  color: var(--primary-color) !important;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-hover) 0%, var(--secondary-hover) 100%);
}

/* 移除所有不必要的边框 */
.navbar,
.navbar-light,
.bg-light,
.main-menu,
.border-bottom {
  border: none !important;
  border-bottom: none !important;
}

/* 确保导航栏分隔效果通过阴影实现 */
.navbar.sticky-top {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 移除表格和列表的边框 */
.table,
.table td,
.table th,
.list-group,
.list-group-item {
  border: none !important;
}

/* 强调色类 */
.text-accent {
  color: var(--primary-color) !important;
}

.border-accent {
  border-color: var(--primary-color) !important;
}

.bg-accent {
  background-color: var(--primary-color) !important;
}

/* 产品矩阵样式 */
.flavor-matrix-header {
  background: var(--primary-color);
}

.flavor-matrix-row:hover {
  background-color: var(--secondary-color);
  transition: background-color 0.3s ease;
}

/* 产品列表样式 */
.bg-orange {
  background: var(--primary-color) !important;
}

.product-list li {
  color: var(--primary-color);
}

/* 引用样式 */
blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin-left: 0;
  color: var(--text-dark);
  font-family: var(--font-secondary);
  font-style: italic;
  font-weight: 400;
}

/* 链接样式 */
a {
  color: var(--primary-color);
  text-decoration: none;
  font-family: var(--font-primary);
}

a:hover {
  color: var(--primary-hover);
}

/* 表格样式 */
.table thead th {
  border-bottom: 2px solid var(--primary-color);
  font-family: var(--font-display);
  font-weight: 600;
}

.table tbody td {
  font-family: var(--font-primary);
  font-weight: 400;
}

/* 列表样式 */
.list-styled li::before {
  content: "•";
  color: var(--primary-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.list-styled li {
  font-family: var(--font-primary);
}

/* 标签样式 */
.badge {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-family: var(--font-primary);
  font-weight: 500;
}

/* 进度条样式 */
.progress-bar {
  background-color: var(--primary-color);
}

/* 表单元素样式 */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(228, 140, 58, 0.25);
}

.form-control {
  font-family: var(--font-primary);
}

/* 选择框样式 */
.custom-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(228, 140, 58, 0.25);
}

.custom-select {
  font-family: var(--font-primary);
}

/* 复选框和单选框样式 */
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,
.custom-radio .custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.custom-control-label {
  font-family: var(--font-primary);
}

/* 提示框样式 */
.tooltip .tooltip-inner {
  background-color: var(--primary-color);
  font-family: var(--font-primary);
}

.tooltip .arrow::before {
  border-top-color: var(--primary-color);
}

/* 弹出框样式 */
.popover {
  border-color: var(--secondary-color);
  font-family: var(--font-primary);
}

.popover-header {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-family: var(--font-display);
  font-weight: 600;
}

/* 警告框样式 */
.alert-primary {
  background-color: var(--secondary-color);
  border-color: var(--primary-color);
  color: var(--primary-color);
  font-family: var(--font-primary);
}

/* 分页样式 */
.pagination .page-link {
  color: var(--primary-color);
  font-family: var(--font-primary);
}

.pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* 导航标签样式 */
.nav-tabs .nav-link.active {
  color: var(--primary-color);
  border-color: var(--primary-color);
  font-family: var(--font-primary);
}

/* 下拉菜单样式 */
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-family: var(--font-primary);
}

.dropdown-item {
  font-family: var(--font-primary);
}

/* 时间轴样式优化 */
.timeline-item:hover .timeline-bar {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

/* 产品卡片悬停效果 */
.product-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(228, 140, 58, 0.1);
}

/* 强调文本 */
.highlight {
  color: var(--primary-color);
  font-weight: 600;
  font-family: var(--font-display);
}

/* 分隔线样式 */
hr.styled {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* 字体优化和特殊文本样式 */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-normal {
  font-weight: 400 !important;
}

.fw-light {
  font-weight: 300 !important;
}

/* 特殊文本样式 */
.text-uppercase {
  letter-spacing: 0.05em;
}

.text-capitalize {
  font-family: var(--font-display);
  font-weight: 600;
}

/* 数字和特殊字符优化 */
.number-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* 品牌名称特殊样式 */
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* 产品名称样式 */
.product-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary-color);
}

/* 价格和数字样式 */
.price, .number {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* 引用和强调文本 */
.quote-text {
  font-family: var(--font-secondary);
  font-style: italic;
  font-weight: 400;
  line-height: 1.8;
}

/* 小字文本优化 */
.small-text {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* 按钮文字优化 */
.btn-text {
  font-family: var(--font-primary);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* 导航文字优化 */
.nav-text {
  font-family: var(--font-primary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* 标题文字优化 */
.heading-text {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* 正文文字优化 */
.body-text {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.7;
}

/* 字体渲染优化 */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 中文字符间距优化 */
.chinese-text {
  word-spacing: 0.1em;
  letter-spacing: 0.02em;
}

/* 英文文本优化 */
.english-text {
  font-family: 'Noto Sans', 'Arial', sans-serif;
  letter-spacing: 0.01em;
}

/* 权威认证样式 */
.cert-card {
  display: block;
  transition: all 0.4s ease;
  height: 256px;
  width: 256px;
  margin: 0 auto;
}

.cert-item {
  background: #fff;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cert-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.cert-icon-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border-radius: 50%; */
  /* background: linear-gradient(145deg, #ffffff, #f0f0f0); */
  /* box-shadow: 5px 5px 10px #e6e6e6, -5px -5px 10px #ffffff; */
  transition: all 0.4s ease;
  flex-shrink: 0;
}

.cert-icon {
  width: 140px;
  height: 140px;
  object-fit: contain;
  transition: all 0.4s ease;
  filter: grayscale(0.2);
}

/* .cert-item:hover .cert-icon-wrapper {
  background: linear-gradient(145deg, #f8f9fa, #ffffff);
  box-shadow: 8px 8px 15px #e6e6e6, -8px -8px 15px #ffffff;
} */

.cert-item:hover .cert-icon {
  transform: scale(1.1);
  filter: grayscale(0);
}

.cert-item .card-title {
  color: var(--text-dark);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  transition: all 0.3s ease;
}

.cert-item:hover .card-title {
  color: var(--primary-color);
}

.cert-item .card-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* 移动端认证卡片样式调整 */
@media (max-width: 767px) {
  .cert-card {
    height: 200px;
    width: 100%;
    max-width: 280px;
  }
  
  .cert-icon-wrapper {
    width: 80px;
    height: 80px;
  }
  
  .cert-icon {
    width: 100px;
    height: 100px;
  }
  
  .cert-item .card-title {
    font-size: 1rem;
  }
  
  .cert-item .card-text {
    font-size: 0.8rem;
  }
}

@media (max-width: 575px) {
  .cert-card {
    height: 180px;
    max-width: 240px;
  }
  
  .cert-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .cert-icon {
    width: 80px;
    height: 80px;
  }
} 

.logo-scale {
  transform: scale(2);
}

