/* === 基础变量 === */
:root {
  --color-bg: #FAF7F2;
  --color-bg-alt: #F0EBE3;
  --color-text: #2D2A26;
  --color-text-light: #6B6560;
  --color-accent: #8B7355;
  --color-accent-light: #A89078;
  --color-border: #E0D8CC;
  --font-serif: 'Noto Serif SC', 'Songti SC', serif;
  --font-sans: 'Noto Sans SC', 'PingFang SC', sans-serif;
}

/* === 重置 === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

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

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

/* === 容器 === */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === 导航 === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav.scrolled {
  border-bottom-color: var(--color-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 720px;
  margin: 0 auto;
}

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

.nav-toggle {
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-menu {
  display: none;
  flex-direction: column;
  padding: 0 24px 20px;
  gap: 16px;
}

.nav-menu.open {
  display: flex;
}

.nav-link {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--color-accent);
}

/* === 首屏 === */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  background: linear-gradient(160deg, #FAF7F2 0%, #F5EFE6 50%, #EDE6DA 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(139, 115, 85, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-logo {
  width: 100px;
  height: auto;
  margin: 0 auto 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-text);
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-slogan {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-desc {
  font-size: 14px;
  color: var(--color-text-light);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1s;
}

.hero-scroll svg {
  animation: bounce 2s ease infinite;
}

/* === 通用区块 === */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-accent);
  margin: 16px auto 0;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 14px;
  margin-top: -28px;
  margin-bottom: 32px;
}

/* === 品牌故事 === */
.brand-content {
  text-align: center;
  margin-bottom: 40px;
}

.brand-lead {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-accent);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.brand-text {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 16px;
}

.brand-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.brand-keywords span {
  padding: 6px 18px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 13px;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
  transition: border-color 0.2s, color 0.2s;
}

.brand-keywords span:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* === 产品展示 === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--color-bg);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(45, 42, 38, 0.08);
}

.product-image-placeholder {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #EDE6DA 0%, #E0D8CC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-light);
}

.product-image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  padding: 16px 16px 4px;
  letter-spacing: 0.05em;
}

.product-desc {
  font-size: 13px;
  color: var(--color-text-light);
  text-align: center;
  padding: 0 16px 16px;
}

/* === 关于我们 === */
.about-content {
  max-width: 560px;
  margin: 0 auto;
}

.about-text {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 16px;
  text-align: center;
}

.about-text strong {
  font-weight: 500;
  color: var(--color-accent);
}

/* === 联系方式 === */
.contact-content {
  text-align: center;
}

.contact-text {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.contact-placeholder {
  padding: 40px;
  border: 1px dashed var(--color-border);
  border-radius: 4px;
  color: var(--color-text-light);
  font-size: 14px;
}

/* === 页脚 === */
.footer {
  padding: 60px 0 40px;
  text-align: center;
  background: var(--color-text);
  color: rgba(250, 247, 242, 0.8);
}

.footer-logo {
  width: 48px;
  height: auto;
  margin: 0 auto 16px;
  opacity: 0.8;
}

.footer-slogan {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 12px;
  opacity: 0.5;
}

/* === 动画 === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* === 响应式 === */
@media (min-width: 640px) {
  .nav-logo {
    height: 44px;
  }

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

  .hero-slogan {
    font-size: 20px;
  }

  .products-grid {
    gap: 28px;
  }
}