/* ===== 上海悦导电子商务有限公司 - 全新设计风格 ===== */
:root {
  --primary: #a8875a;        /* 香槟金 */
  --primary-dark: #232323;   /* 墨黑 */
  --primary-light: #f4efe6;  /* 米金 */
  --gold: #c8ab72;
  --text: #2f2f2f;
  --text-light: #7a746d;
  --bg: #faf8f4;             /* 象牙白 */
  --white: #fff;
  --shadow: 0 4px 20px rgba(35, 35, 35, 0.08);
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 头部导航 ===== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  flex-shrink: 0;
}
.nav { display: flex; list-style: none; gap: 6px; }
.nav a {
  display: block;
  padding: 8px 18px;
  font-size: 15px;
  color: var(--text);
  border-radius: 20px;
  transition: all .3s;
  position: relative;
}
.nav a:hover { color: var(--primary); background: var(--primary-light); }
.nav a.active {
  color: var(--white);
  background: linear-gradient(135deg, #3a342b, #1a1a1a);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--primary-dark);
  cursor: pointer;
}

/* ===== 首页轮播 ===== */
.hero {
  position: relative;
  overflow: hidden;
  height: 560px;
}
.hero .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero .slide.active { opacity: 1; }
.hero .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all .3s;
}
.hero .dot.active {
  background: var(--white);
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}
.hero .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: background .3s;
  backdrop-filter: blur(4px);
}
.hero .arrow:hover { background: rgba(168, 135, 90, 0.85); }
.hero .arrow.prev { left: 24px; }
.hero .arrow.next { right: 24px; }

/* ===== 首页板块 ===== */
.section { padding: 70px 0; }
.section-title {
  text-align: center;
  margin-bottom: 44px;
}
.section-title h2 {
  font-size: 30px;
  color: var(--primary-dark);
  letter-spacing: 4px;
}
.section-title .line {
  width: 60px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px;
}
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.intro-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.intro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(168, 135, 90, 0.18);
}
.intro-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
}
.intro-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--primary-dark); }
.intro-card p { font-size: 14px; color: var(--text-light); }

/* ===== 页面横幅 ===== */
.page-banner {
  height: 320px;
  overflow: hidden;
  position: relative;
}
.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-banner .banner-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
}
.page-banner .banner-text h1 {
  font-size: 38px;
  letter-spacing: 6px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* ===== 品牌简介 ===== */
.brand-gallery {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.brand-gallery img { width: 100%; }

/* ===== 产品列表 ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(168, 135, 90, 0.22);
}
.product-card .thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f4f2ee;
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .info { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-card .price {
  color: var(--primary);
  font-size: 19px;
  font-weight: 700;
}
.product-card .name {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== APP 介绍 ===== */
.app-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 46px;
  box-shadow: var(--shadow);
}
.app-hero .app-info h2 {
  font-size: 30px;
  color: var(--primary-dark);
  margin-bottom: 18px;
}
.app-hero .app-info .tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 14px;
  margin-bottom: 16px;
}
.app-hero .app-info p {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.9;
}
.app-hero .app-shot {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.app-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.app-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.app-shots img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .3s;
}
.app-shots img:hover { transform: translateY(-6px); }

/* ===== 页脚 ===== */
.footer {
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.65);
  padding: 44px 0 30px;
  margin-top: 70px;
  font-size: 13px;
}
.footer .company {
  text-align: center;
  font-size: 17px;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.footer .links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.footer .links a:hover { color: var(--gold); }
.footer .beian {
  text-align: center;
  line-height: 2;
}
.footer .beian a:hover { color: var(--gold); }

/* ===== 滚动显现动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .intro-grid, .app-features, .app-shots { grid-template-columns: repeat(2, 1fr); }
  .app-hero { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero { height: 320px; }
  .page-banner { height: 200px; }
  .page-banner .banner-text h1 { font-size: 26px; }
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 12px 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
  .nav.open { display: flex; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .intro-grid, .app-features, .app-shots { grid-template-columns: 1fr; }
  .app-hero { padding: 26px; }
  .section { padding: 46px 0; }
}
