

/* -----------------------------------------------------------
   Global Dark-Tech Theme
----------------------------------------------------------- */
:root {
  --bg-main: #050816;
  --bg-gradient-start: #050816;
  --bg-gradient-mid: #071a2a;
  --bg-gradient-end: #050816;

  --accent: #f5c76b;
  --accent-soft: rgba(245, 199, 107, 0.22);
  --accent-strong: #ffda7a;

  --card-bg: rgba(13, 20, 35, 0.88);
  --card-border: rgba(255, 255, 255, 0.08);

  --text-main: #ffffff;
  --text-muted: #b4bfd4;
  --text-soft: #8891a4;

  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 14px 40px rgba(0, 0, 0, 0.45);

  --layout-width: 1180px;
}

/* -----------------------------------------------------------
   Reset & Body
----------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at 0% 0%, #18213a 0, transparent 45%),
    radial-gradient(circle at 100% 0%, #1c2340 0, transparent 45%),
    radial-gradient(circle at 0% 100%, #101b32 0, transparent 40%),
    linear-gradient(145deg, var(--bg-gradient-start), var(--bg-gradient-mid) 50%, var(--bg-gradient-end));
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* 噪点层 */
.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: soft-light;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.09) 0, transparent 0.9px);
  background-size: 3px 3px;
  z-index: 0;
}

/* -----------------------------------------------------------
   Layout container
----------------------------------------------------------- */
.layout {
  position: relative;
  max-width: var(--layout-width);
  margin: 0 auto;
  padding: 24px 20px 64px;
  z-index: 1;
}

/* -----------------------------------------------------------
   Glassmorphism Navbar
----------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 20, 0.92),
    rgba(5, 8, 20, 0.82),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-badge {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: radial-gradient(circle at 20% 0%, #ffffff, #f5b34b 55%, #b86d0d 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #20140a;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.brand-text {
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-main);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color 0.18s ease;
  cursor: pointer;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f5b34b, #ffd27a);
  transition: width 0.18s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-border);
  background: radial-gradient(circle at 0 0, #ffd27a, #f5b34b 40%, #b86d0d 100%);
  color: #20140a;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
}
/* -----------------------------------------------------------
   Hero section
----------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 42px;
  padding-top: 52px;
  padding-bottom: 40px;
  align-items: center;
}

.hero-left {
  max-width: 620px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  background: rgba(10, 20, 40, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.hero-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #3cffc4;
  box-shadow: 0 0 0 4px rgba(60, 255, 196, 0.18);
}

.hero-title {
  font-size: 46px;
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
}

.hero-title span {
  display: block;
  color: var(--accent-strong);
}

.hero-subtitle {
  margin: 0 0 22px;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease,
    border-color 0.15s ease;
}

.btn-primary {
  background: radial-gradient(circle at 0 0, #fff8dd, #f5c76b 45%, #e59a3a 100%);
  color: #201100;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}

.btn-secondary {
  background: rgba(9, 18, 35, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f4f5ff;
}

.btn-secondary:hover {
  background: rgba(14, 28, 55, 0.98);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 15, 30, 0.9);
  color: var(--text-soft);
}

/* Hero / right panel */
.hero-right {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-panel {
  width: 100%;
  max-width: 420px;
  background: radial-gradient(circle at 0 0, rgba(148, 187, 233, 0.22), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(88, 28, 135, 0.2), transparent 55%),
    var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.panel-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
}

.panel-metric {
  text-align: right;
}

.metric-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
}

.metric-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-strong);
}

.hero-panel-body p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stat-card {
  padding: 10px 11px;
  border-radius: 14px;
  background: rgba(2, 8, 23, 0.9);
  border: 1px solid rgba(119, 136, 255, 0.25);
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.stat-value {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.stat-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.hero-panel-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.hero-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  background: rgba(5, 120, 79, 0.15);
  border: 1px solid rgba(96, 245, 188, 0.65);
  color: #c8ffe8;
  font-size: 11px;
}

.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #60f5bc;
}

/* -----------------------------------------------------------
   Generic sections
----------------------------------------------------------- */
.section {
  padding: 36px 0 8px;
}

.section-header {
  margin-bottom: 22px;
}

.section-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.section-title {
  font-size: 24px;
  margin: 0 0 8px;
}

.section-subtitle {
  margin: 0;
  max-width: 620px;
  font-size: 14px;
  color: var(--text-muted);
}

/* -----------------------------------------------------------
   Deliver grid
----------------------------------------------------------- */
.deliver-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
}

.card-title {
  margin: 0 0 6px;
  font-size: 15px;
}

.card-body {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* -----------------------------------------------------------
   Products
----------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  /* ★ 新增：卡片变成上下结构 */
    display: flex;
    flex-direction: column;
}

.product-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: var(--text-soft);
  margin-bottom: 6px;
  opacity: 0.78;            /* 新增：更“轻”一点 */
}

.product-title {
  margin: 0 0 6px;
  font-size: 15px;
}

.product-body {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* -----------------------------------------------------------
   Why Us
----------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.why-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
}

.why-title {
  margin: 0 0 6px;
  font-size: 15px;
}

.why-body {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* -----------------------------------------------------------
   About
----------------------------------------------------------- */
.about-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  font-size: 13px;
  color: var(--text-muted);
}

.about-card p {
  margin: 0 0 10px;
}

/* -----------------------------------------------------------
   Contact
----------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: flex-start;
}

.contact-card,
.contact-side {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
}

.contact-card h3 {
  margin-top: 0;
}

.contact-form {
  margin-top: 10px;
}

.field-row {
  display: flex;
  gap: 12px;
}

.field-wrapper {
  flex: 1;
}

.field-label {
  display: block;
  font-size: 11px;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.field-input,
.field-textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(3, 8, 22, 0.9);
  color: var(--text-main);
  font-size: 13px;
  outline: none;
  resize: vertical;
}

.field-input:focus,
.field-textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(245, 199, 107, 0.6);
}

.field-textarea {
  min-height: 110px;
}

.btn-submit {
  margin-top: 10px;
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: radial-gradient(circle at 0 0, #fff8dd, #f5c76b 45%, #e59a3a 100%);
  color: #261400;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.btn-submit:hover {
  transform: translateY(-1px);
}

.contact-hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.contact-side h4 {
  margin: 0 0 10px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}

.contact-list li {
  margin-bottom: 10px;
}

.contact-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
}

.contact-value {
  display: block;
}

/* -----------------------------------------------------------
   Footer
----------------------------------------------------------- */
.footer {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--accent-strong);
}

/* -----------------------------------------------------------
   Responsive
----------------------------------------------------------- */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    justify-content: flex-start;
  }

  .deliver-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .navbar-inner {
    padding-inline: 16px;
  }

  /* ✅ 移动端：显示汉堡按钮 */
  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  /* ✅ 移动端：默认隐藏菜单，改成“下拉层” */
  .nav-links,
  .lang-switch {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 100%;          /* 紧挨着导航条下面 */
    left: 0;
    right: 0;
    padding: 10px 20px 6px;
    background: linear-gradient(
      to bottom,
      rgba(5, 8, 20, 0.98),
      rgba(5, 8, 20, 0.94),
      rgba(5, 8, 20, 0.9)
    );
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links a {
    padding: 6px 0;
  }


  /* ✅ 打开状态（通过 JS 加 .nav-open） */
  .nav-links.nav-open {
    display: flex;
  }
  .lang-switch.nav-open {
    display: flex;
  }
  /* 移动端：默认隐藏语言切换 */
.lang-switch {
  display: none;
  padding: 10px 20px;
}

/* 菜单展开时：语言切换跟着菜单一起出现 */
.nav-links.nav-open + .lang-switch {
  display: flex !important;
  gap: 12px;
}

/* 语言排版更适合放在菜单里 */
.lang-switch {
  justify-content: flex-start;
  font-size: 14px;
}

  /* CTA 按钮在移动端占整行，看起来像主按钮 */
  .nav-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* 下面这些保持你原来的设置 */
  .hero {
    padding-top: 34px;
  }

  .hero-title {
    font-size: 34px;
  }

  .deliver-grid,
  .product-grid,
  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-row {
    flex-direction: column;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* -----------------------------------------------------------
   Step 2 – Hero Industrial Metal Texture (Magnesium)
----------------------------------------------------------- */

/* A. Hero区金属颗粒背景（大范围） */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.06) 0, transparent 55%),
    radial-gradient(circle at 80% 40%, rgba(200,200,200,0.05) 0, transparent 70%),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,0.04) 0, transparent 65%);
  opacity: 0.45;
  pointer-events: none;
  filter: blur(12px);
}

/* B. Hero Panel（右侧卡片）金属颗粒质感 */
.hero-panel {
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -20px;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.12) 0, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(210,210,210,0.08) 0, transparent 60%),
    linear-gradient(
      145deg,
      rgba(255,255,255,0.08),
      rgba(230,230,230,0.04),
      rgba(255,255,255,0.06)
    );
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* C. 为背景增加轻柔银色纹理，提高工业感 */
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3'%3E%3C/feTurbulence%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='0.12'/%3E%3C/svg%3E");
  pointer-events: none;
}
/* ---- Card hover gold glow ---- */

/* 如果前面已经有 .card 定义，这里是给它补充过渡动画 */
.card {
  position: relative;
  transition:
    transform 220ms ease-out,
    box-shadow 220ms ease-out,
    border-color 220ms ease-out,
    background 260ms ease-out;
}

/* 通用 hover 效果：轻微上浮 + 金色外发光 */
.card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(255, 210, 120, 0.65),
    0 22px 60px rgba(0, 0, 0, 0.85);
  border-color: rgba(255, 210, 120, 0.55);
}

/* 右侧大号供应快照卡片（如果你那里类名是别的，可以改成对应的类） */
.card--hero,
.hero-snapshot,
.supply-card {
  transition:
    transform 220ms ease-out,
    box-shadow 220ms ease-out,
    border-color 220ms ease-out,
    background 260ms ease-out;
}

.card--hero:hover,
.hero-snapshot:hover,
.supply-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(255, 210, 120, 0.7),
    0 26px 70px rgba(0, 0, 0, 0.9);
  border-color: rgba(255, 210, 120, 0.6);
}
/* -----------------------------------------------------------
   Global Gold Hover Glow – Unified for All Cards
----------------------------------------------------------- */

.card,
.product-card,
.why-card,
.about-card,
.contact-card,
.contact-side,
.hero-panel {
  position: relative;
  transition:
    transform 200ms ease-out,
    box-shadow 200ms ease-out,
    border-color 200ms ease-out;
}

/* Hover 时金色发光 + 上浮 */
.card:hover,
.product-card:hover,
.why-card:hover,
.about-card:hover,
.contact-card:hover,
.contact-side:hover,
.hero-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 210, 120, 0.5);
  box-shadow:
    0 0 0 1px rgba(255, 210, 120, 0.55),
    0 20px 40px rgba(0, 0, 0, 0.7);
}
/* ------------------------------
   PRODUCT CARD – IMAGE VERSION
------------------------------ */

.product-card {
    background: rgba(15, 19, 28, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    position: relative;
    transition: all 0.35s ease;
    backdrop-filter: blur(8px);
    /* 关键：整张卡片上下两块布局 */
    display: flex;
    flex-direction: column;
    min-height: 720px;   /* ★ 新增：三张卡高度保持一致 */
}

/* 图片画廊布局（主图 + 缩略图） */
.product-image {
    padding: 14px 14px 0;
}

/* 主图 */
.product-main-image {
    width: 100%;
    height: 260px;
    border-radius: 18px;
    object-fit: cover;
    display: block;
}

/* 缩略图容器 */
.product-thumbs {
    display: flex;
    gap: 10px;
    padding: 12px 18px 0;
}

/* 单个缩略图外框 */
.product-thumb {
    width: 58px;          /* 你觉得还大可以再改成 60 或 55 */
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    opacity: 0.85;
    transition:
        transform 0.18s ease,
        opacity 0.18s ease,
        border-color 0.18s ease;
}

/* 缩略图里的图片 */
.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 当前选中 / hover 的缩略图状态 */
.product-thumb.active,
.product-thumb:hover {
    opacity: 1;
    transform: translateY(-1px);
    border-color: rgba(255, 210, 120, 0.75);  /* 轻微金色高亮 */
}

/* 内容区 */
.product-content {
    padding: 22px;
    display: flex;          /* 让内容区本身也用 flex */
    flex-direction: column; /* 上：标题/文字/列表，下：按钮 */
    flex: 1;                /* 把图片下面的高度吃满，给按钮留“贴底”空间 */
}

.product-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-content p {
    font-size: 0.95rem;
    color: #d0d4da;
    margin-bottom: 12px;
}

/* 产品规格 */
.product-spec li {
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: #c3c8d4;
}

/* 产品卡片里的 PDF 下载按钮 */
.product-content .btn-secondary {
    align-self: flex-start;   /* 按钮靠左 */
    margin-top: auto;         /* 利用 flex，把按钮推到底部 */
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #f7f7f7;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.product-content .btn-secondary:hover {
    background: rgba(255, 208, 0, 0.25);
    color: #fff;
}

/* Hover 金色边框（统一风格） */
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 22px rgba(255, 200, 50, 0.18);
    border-color: rgba(255, 200, 50, 0.5);
}
/* ===== Navigation Brand (Logo + Text) ===== */
.brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo {
    width: 34px;       /* 导航栏 logo 图标大小 */
    height: 34px;
    border-radius: 8px; /* 让图标更圆润，与原图风格一致 */
}

.brand-text {
    font-size: 20px;
    font-weight: 700;
    color: white;       /* 深色导航栏背景时，更清晰 */
}
/* ==== HERO STAT PANEL — PROFESSIONAL SUPPLIER VERSION ==== */
.hero-stats {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    padding: 24px 28px;
    border-radius: 14px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* 每一项 */
.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* 左侧小标题 */
.stat-label {
    font-size: 14px;
    color: #b5bcc7;
    letter-spacing: 0.4px;
}

/* 主数值（大字体） */
.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

/* 小字注释 */
.stat-meta {
    font-size: 13px;
    color: #8d96a5;
    margin-top: -2px;
}
/* === Hero Stats 金色 hover 效果修复 === */

.hero-stats {
  position: relative;
  transition:
    transform 200ms ease-out,
    box-shadow 200ms ease-out,
    border-color 200ms ease-out;
}

.hero-stats:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 210, 120, 0.5);
  box-shadow:
    0 0 0 1px rgba(255, 210, 120, 0.55),
    0 20px 40px rgba(0, 0, 0, 0.7);
}
/* HERO 右侧卡片标题 */
.panel-title {
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0.85;
}

/* Shipment Size — 数字更突出 */
.metric-value {
    font-size: 20px;
    font-weight: 700;
    color: #ffd479; /* 金色，与左侧“for European Traders…”匹配 */
}

.metric-label {
    font-size: 12px;
    opacity: 0.7;
}
/* 小卡片标题 */
.stat-label {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.9;
}

/* 小卡片数值，主视觉重点 */
.stat-value {
    font-size: 17px;
    font-weight: 700;
}

/* 小卡片说明文字 */
.stat-meta {
    font-size: 12px;
    opacity: 0.7;
    line-height: 1.4;
}
.hero-panel-footer span {
    font-size: 13px;
    opacity: 0.85;
}
/* ===== "What AlloyOne Metal Delivers" cards ===== */

/* 只影响 #deliver 区域里的三张卡片 */
#deliver .deliver-card.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 18px 18px 14px;   /* 比默认略小一点 */
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);

  position: relative;
  transition:
    transform 200ms ease-out,
    box-shadow 200ms ease-out,
    border-color 200ms ease-out;
}

/* Hover 时的金色边框 + 发光效果 */
#deliver .deliver-card.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 210, 120, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 210, 120, 0.6),
    0 22px 60px rgba(0, 0, 0, 0.8);
}

/* 标题稍微小一点、不要太抢 HERO 的风头 */
#deliver .deliver-card-title {
  font-size: 18px;
  margin: 0 0 6px;
}

/* 正文字体再小半号，行距略紧一点，看起来更“说明书风格” */
#deliver .deliver-card-text {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
}
/* Navbar 仍然可以保持现在的样式，不必改 position */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 20, 0.92),
    rgba(5, 8, 20, 0.82),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* 让 navbar-inner 作为三列：brand | nav-links | lang-switch */
.navbar-inner {
  max-width: var(--layout-width); /* 这里顺便修一下变量名更合理 */
  margin: 0 auto;
  padding: 14px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;       /* ✅ 新增：给绝对定位的下拉菜单一个参照 */
}
/* ✅ 新增：汉堡按钮（桌面端默认隐藏） */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 4px;
  margin-left: auto;
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  margin: 3px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* 可选：点击后变成 X 的动画效果 */
.nav-toggle.is-open .nav-toggle-line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .nav-toggle-line:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Language Switch - 普通内联 flex */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin-left: 8px;  /* 跟 Contact 按钮保持一点间隔 */
}

.lang-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.lang-link:hover {
  color: rgb(255, 210, 120);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.5);
}
.footer-legal {
  margin-top: 10px;
  text-align: center;
  opacity: 0.7;
  font-size: 12px;
}

.footer-legal-link {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: #ffffff;
}
/* ============ A 方案：横向滑动缩略图 ============ */

/* 外层：按钮 + 缩略图条放一行 */
.thumbs-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px 0;
}

/* 左右箭头按钮 */
.thumbs-btn {
  width: 26px;
  height: 60px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.thumbs-btn:hover {
  background: rgba(255, 210, 120, 0.25);
  border-color: rgba(255, 210, 120, 0.55);
}

/* 真正装缩略图的容器：横向滚动 */
.thumbs-container {
  display: flex;
  gap: 8px;
  overflow-x: auto;        /* 关键：允许横向滚动 */
  padding-bottom: 4px;     /* 给滚动条留一点空间（即使隐藏也更安全） */
  scroll-behavior: smooth; /* 手动滚动也平滑 */
}

/* 可选：隐藏浏览器自带滚动条（看起来更干净） */
.thumbs-container::-webkit-scrollbar {
  height: 4px;
}
.thumbs-container::-webkit-scrollbar-track {
  background: transparent;
}
.thumbs-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

/* 单个缩略图（注意：你现在是 <img class="product-thumb">） */
.product-thumb {
  flex: 0 0 70px;       /* 固定 70px 宽，不被压扁 */
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.85;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.18s ease;
  object-fit: cover;
}

/* 选中 / hover 状态 */
.product-thumb:hover,
.product-thumb.active {
  opacity: 1;
  border-color: rgba(255, 210, 120, 0.65);
  transform: translateY(-2px);
  filter: brightness(1.06);   /* 新增：轻微提亮，手感更好 */
}