/* ============================================================
   Components — 可复用组件
  logo/ Hero / 按钮 / 分类卡片 / 技术卡片 / 轮播点等
============================================================ */
/* ---------------- logo ---------------- */
.daubologo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ---------------- HERO Banner ---------------- */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  color: #fff;
  margin-left: 80px;
  max-width: 480px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-content h1 {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 30px;
}

.hero {
  position: relative;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45); /* 调整透明度即可 */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Hero Button */
.btn-main {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: var(--color-primary);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* Hero 轮播点 */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dots div {
  width: 10px;
  height: 10px;
  background: #ddd;
  border-radius: 50%;
}

.hero-dots .active {
  background: #555;
}

/* ---------------- 语言切换按钮 ---------------- */
.lang-switch {
  display: flex;
  gap: 10px;
}

.lang-switch button {
  background: transparent;
  border: none;
  font-size: 14px;
  cursor: pointer;
  opacity: 0.7;
}

.lang-switch button.active {
  opacity: 1;
  font-weight: 700;
}

/* ---------------- 技术图标卡片 ---------------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

.tech-item {
  text-align: center;
}

.tech-item img {
  width: 60px;
  margin-bottom: 12px;
}

.tech-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.tech-item p {
  font-size: 14px;
  color: var(--text-sub);
}

/* ---------------- 产品卡片 ---------------- */
.product-card {
  border: 1px solid #eee;
  padding: 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: 0.25s;
}

.product-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-4px);
}
