/* ===== 重置与基础样式 ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-black: #000;
  --color-dark: #1a1a1a;
  --color-gray-900: #212121;
  --color-gray-700: #424242;
  --color-gray-500: #757575;
  --color-gray-300: #bdbdbd;
  --color-gray-100: #f5f5f5;
  --color-white: #fff;
  --color-accent: #c8a97e;
  --color-red: #c0392b;
  --font-primary: -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--color-white);
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 公告栏 ===== */
.announcement-bar {
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ===== 头部导航 ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-100);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  max-width: 1440px;
  margin: 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-img-mobile {
  display: none;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-black);
}

.logo-center {
  grid-column: 2;
  justify-self: center;
}

.logo span {
  font-weight: 300;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 20px 0;
  position: relative;
  transition: var(--transition);
  color: var(--color-gray-700);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-black);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-black);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ===== 语言切换按钮 ===== */
.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 4px 16px;
  border: 1px solid var(--color-black);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-black);
  cursor: pointer;
  transition: var(--transition);
}

.lang-toggle:hover {
  color: var(--color-white);
  background: var(--color-gray-900);
}

.lang-toggle:hover {
  border-color: var(--color-black);
  color: var(--color-black);
  background: var(--color-gray-100);
}


/* ===== 移动端菜单 ===== */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--color-black);
  transition: var(--transition);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1100;
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: var(--color-white);
  z-index: 1200;
  padding: 24px;
  transition: left 0.3s ease;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
  color: var(--color-gray-500);
}

.mobile-menu nav {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.mobile-menu nav .lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  margin-top: 16px;
  border: 1px solid var(--color-black);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-black);
}

.mobile-menu nav .lang-toggle:hover {
  color: var(--color-white);
  background: var(--color-gray-900);
}

/* ===== 轮播图 ===== */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero-content {
  text-align: center;
  color: var(--color-white);
  max-width: 700px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: 0.85;
}

.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.hero-dot.active {
  background: var(--color-white);
  border-color: var(--color-white);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 18px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  z-index: 10;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.4);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

/* ===== 核心品牌展示 ===== */
.brand-showcase {
  padding: 80px 0;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 16px;
  border: 1px solid var(--color-gray-100);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.brand-item:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.brand-item img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
}

.brand-stat .brand-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.1;
}

.brand-stat .brand-number span {
  font-size: 24px;
  font-weight: 400;
  color: var(--color-gray-500);
}

.brand-item h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-dark);
  text-align: center;
  margin-top: 4px;
}

/* ===== 品类展示 ===== */
.categories {
  padding: 80px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 16px;
  border: 1px solid var(--color-gray-100);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.category-item:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.category-item img {
  width: 50px;
  height: 50px;
  color: var(--color-dark);
}

.category-item h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-dark);
}

/* ===== 商品展示 ===== */
.products {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--color-gray-500);
  font-weight: 300;
  margin-bottom: 16px;
}

.section-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--color-gray-500);
  transition: var(--transition);
}

.section-link:hover {
  color: var(--color-black);
}

.product-carousel {
  overflow: hidden;
  padding: 0 0 16px;
  cursor: grab;
  -ms-overflow-style: none;
  scrollbar-width: none;
  position: relative;
}

.product-carousel-track {
  display: flex;
  gap: 20px;
  will-change: transform;
}

.product-carousel::-webkit-scrollbar {
  display: none;
}

.product-carousel .product-card {
  flex: 0 0 240px;
  cursor: pointer;
  transition: var(--transition);
}

.product-carousel .product-card:hover {
  transform: translateY(-4px);
}

.product-carousel .product-image {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.product-carousel .product-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.product-carousel .product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-carousel .product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
}

.product-carousel .product-badge.new {
  background: var(--color-red);
}

.product-carousel .product-info {
  padding: 0 4px;
}

.product-carousel .product-name {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.product-carousel .product-colors {
  font-size: 11px;
  color: var(--color-gray-500);
  margin-bottom: 8px;
}

.product-carousel .product-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-red);
}

/* ===== 仓库及门店 ===== */
.stores {
  padding: 80px 0;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.store-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 12px;
  background: var(--color-gray-100);
}

.store-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 32px 16px;
  border: 1px solid var(--color-gray-100);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.store-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

a.store-card {
  color: inherit;
  text-decoration: none;
}

a.store-card:hover {
  color: inherit;
}

.store-card svg {
  width: 36px;
  height: 36px;
  color: var(--color-dark);
}

.store-card.brand-stat svg {
  display: none;
}

.store-card.brand-stat .brand-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.1;
}

.store-card.brand-stat .brand-number span {
  font-size: 24px;
  font-weight: 400;
  color: var(--color-gray-500);
}

.store-card.brand-stat .store-name {
  margin-top: 4px;
}

.store-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-dark);
}

.store-address {
  font-size: 12px;
  color: var(--color-gray-500);
  line-height: 1.5;
}

/* ===== 团队展示 ===== */
.team-showcase {
  padding: 80px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.team-card {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--color-gray-100);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.team-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

/* ===== 荣誉展示 ===== */
.honors {
  padding: 80px 0;
  background: var(--color-gray-100);
}

.honor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.honor-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.honor-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.honor-image {
  width: 200px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  margin: 24px auto 0;
}

.honor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.honor-card:hover .honor-image img {
  transform: scale(1.05);
}

.honor-content {
  padding: 24px;
  max-width: 400px;
  margin: 0 auto;
}

.honor-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--color-dark);
  text-align: center;
}

.honor-desc {
  font-size: 14px;
  color: var(--color-gray-500);
  line-height: 1.8;
  text-align: center;
}

/* ===== 仓库操作流程 ===== */
.warehouse-process {
  padding: 80px 0;
}

.warehouse-layout {
  display: flex;
  gap: 60px;
  align-items: center;
}

.warehouse-video {
  flex: 0 0 auto;
  width: 300px;
}

.warehouse-video-player {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  object-fit: cover;
  background: var(--color-dark);
  cursor: pointer;
}

.warehouse-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.warehouse-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--color-gray-100);
  border-radius: 8px;
  transition: var(--transition);
}

.warehouse-step:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.step-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  min-width: 60px;
}

.step-text h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--color-dark);
}

.step-text p {
  font-size: 14px;
  color: var(--color-gray-500);
  line-height: 1.7;
}

/* ===== 品牌优势 ===== */
.features {
  padding: 80px 0;
  background: var(--color-gray-100);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.feature-item {
  padding: 32px 24px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  transition: var(--transition);
}

.feature-item:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-icon {
  margin-bottom: 20px;
  color: var(--color-gray-700);
}

.feature-icon svg {
  width: 40px;
  height: 40px;
}

.feature-item h4 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 13px;
  color: var(--color-gray-500);
  line-height: 1.6;
}

/* ===== 页脚 ===== */
.footer {
  background: var(--color-dark);
  color: var(--color-gray-300);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 48px;
  align-items: start;
  justify-content: center;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--color-gray-500);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--color-gray-500);
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--color-white);
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--color-gray-500);
  padding: 6px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--color-white);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
  font-size: 12px;
  color: var(--color-gray-500);
}

/* ===== 返回顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--color-black);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-gray-700);
}

/* ===== 页脚二维码 ===== */
.footer-qr {
  text-align: center;
}

.footer-qr img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  margin: 0 auto 8px;
}

.footer-qr p {
  font-size: 11px;
  color: var(--color-gray-500);
  font-weight: 500;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 20px;
    position: relative;
  }

  .header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .header-nav {
    width: 100%;
    justify-content: space-between;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav {
    display: none;
  }

  .logo-img-desktop {
    display: none;
  }

  .logo-img-mobile {
    display: block;
  }

  .logo-img {
    height: 36px;
  }

  .hero {
    height: 60vh;
    min-height: 400px;
  }

  .hero-title {
    font-size: 32px;
  }

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .brand-stat .brand-number {
    font-size: 32px;
  }

  .brand-stat .brand-number span {
    font-size: 18px;
  }

  .brand-item img {
    width: 40px;
    height: 40px;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .warehouse-layout {
    flex-direction: column;
    gap: 32px;
  }

  .warehouse-video {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
  }

  .honors {
    padding: 48px 0;
  }

  .honor-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .honor-image {
    width: 160px;
    aspect-ratio: 9 / 16;
  }

  .team-showcase {
    padding: 48px 0;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .store-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .store-image {
    height: 160px;
  }

  .store-card.brand-stat .brand-number {
    font-size: 32px;
  }

  .store-card.brand-stat .brand-number span {
    font-size: 18px;
  }

  .products {
    padding: 48px 0;
  }

  .section-title {
    font-size: 22px;
  }

  .features {
    padding: 48px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    text-align: center;
    justify-content: center;
  }

  .footer-qr {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 50vh;
    min-height: 350px;
  }

  .hero-tag {
    font-size: 10px;
    padding: 4px 12px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-stat .brand-number {
    font-size: 28px;
  }

  .brand-stat .brand-number span {
    font-size: 16px;
  }

  .brand-item img {
    width: 36px;
    height: 36px;
  }

  .store-grid {
    grid-template-columns: 1fr;
  }

  .store-card.brand-stat .brand-number {
    font-size: 28px;
  }

  .store-card.brand-stat .brand-number span {
    font-size: 16px;
  }

  .step-number {
    font-size: 28px;
    min-width: 48px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}
