/* ============================================================
   景德品元官网样式表
   风格：非遗文化 · 高端大气 · 响应式 · 支持 light/dark/system
   ============================================================ */

/* 基础变量 */
:root {
  /* 品牌色 */
  --brand-red: #B81C22;
  --brand-red-dark: #8B151A;
  --brand-red-light: #D44146;
  --brand-gold: #C9A227;
  --brand-ink: #1A1A1A;
  --brand-ivory: #F7F4ED;
  --brand-pottery: #8B7355;
  --brand-pottery-light: #A68B6A;

  /* 亮色模式 */
  --bg-primary: #FDFCF9;
  --bg-secondary: #F7F4ED;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --text-primary: #1A1A1A;
  --text-secondary: #555555;
  --text-muted: #888888;
  --border-color: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --overlay: rgba(0, 0, 0, 0.5);
}

/* 暗色模式 */
[data-theme="dark"] {
  --bg-primary: #0F0F10;
  --bg-secondary: #18181A;
  --bg-card: #1E1E20;
  --bg-glass: rgba(30, 30, 32, 0.78);
  --text-primary: #F5F0E8;
  --text-secondary: #B8B3AB;
  --text-muted: #7A756F;
  --border-color: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --overlay: rgba(0, 0, 0, 0.7);
}

/* 系统主题自动 */
@media (prefers-color-scheme: dark) {
  [data-theme="system"] {
    --bg-primary: #0F0F10;
    --bg-secondary: #18181A;
    --bg-card: #1E1E20;
    --bg-glass: rgba(30, 30, 32, 0.78);
    --text-primary: #F5F0E8;
    --text-secondary: #B8B3AB;
    --text-muted: #7A756F;
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --overlay: rgba(0, 0, 0, 0.7);
  }
}

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

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

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  font-weight: 600;
  line-height: 1.3;
}

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

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
}

/* 容器 */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 64px;
  }
}

/* 通用段落区 */
.section {
  padding: 96px 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: 120px 0;
  }
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 16px;
  font-weight: 500;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(184, 28, 34, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(184, 28, 34, 0.4);
}

.btn-ghost {
  background: transparent;
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.btn-ghost:hover {
  background: var(--brand-red);
  color: #fff;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* 导航 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.4s ease;
}

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

@media (min-width: 768px) {
  .header-inner {
    padding: 0 40px;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    padding: 0 64px;
  }
}

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

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

.main-nav {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }
}

.nav-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.3s ease;
  padding: 8px 0;
}

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

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.05);
  border-color: var(--brand-red);
}

.theme-icon {
  display: none;
}

[data-theme="system"] .theme-icon.system,
[data-theme="light"] .theme-icon.light,
[data-theme="dark"] .theme-icon.dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  [data-theme="system"] .theme-icon.system {
    display: none;
  }
  [data-theme="system"] .theme-icon.dark {
    display: block;
  }
}

@media (prefers-color-scheme: light) {
  [data-theme="system"] .theme-icon.system {
    display: none;
  }
  [data-theme="system"] .theme-icon.light {
    display: block;
  }
}

.hidden-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hidden-mobile {
    display: inline-flex;
  }
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

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

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

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

/* 移动端菜单面板 */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 48px;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-family: "Noto Serif SC", serif;
  color: var(--text-primary);
  padding: 12px 24px;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--brand-red);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(184, 28, 34, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.hero-eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  color: var(--brand-red);
  margin-bottom: 16px;
  display: block;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .line {
  display: block;
}

.hero-title .line:last-child {
  color: var(--brand-red);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--brand-red);
  font-family: "Noto Serif SC", serif;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Hero 视觉区 */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--bg-secondary) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-pot {
  width: 90%;
  max-width: 460px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.2));
}

.hero-logo {
  width: 80%;
  max-width: 360px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.18));
}

.floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  animation: floatBadge 5s ease-in-out infinite;
}

.badge-top {
  top: 15%;
  right: 5%;
  animation-delay: 0s;
}

.badge-bottom {
  bottom: 20%;
  left: 0;
  animation-delay: 1s;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.badge-icon {
  font-size: 1rem;
}

/* 滚动指示器 */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  animation: bounce 2s infinite;
}

.mouse {
  width: 22px;
  height: 36px;
  border: 2px solid currentColor;
  border-radius: 12px;
  position: relative;
}

.mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 6px;
  background: currentColor;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 18px; }
}

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

/* 品牌故事 */
.section-story {
  background: var(--bg-secondary);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 64px;
}

@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.story-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.story-card p {
  margin-bottom: 16px;
}

.story-card p:last-child {
  margin-bottom: 0;
}

.story-card-main .lead {
  font-size: 1.2rem;
  color: var(--text-primary);
}

.story-card-side {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.brand-mission h3,
.brand-philosophy h3 {
  font-size: 1rem;
  color: var(--brand-red);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.mission-text,
.philosophy-text {
  font-size: 1.5rem;
  font-family: "Noto Serif SC", serif;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.mission-sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* 时间线 */
.story-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .story-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .story-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

.timeline-item {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 28px;
  border-left: 4px solid var(--brand-red);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.timeline-year {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-red);
  font-family: "Noto Serif SC", serif;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* 创始人 */
.section-master {
  background: var(--bg-primary);
}

.master-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .master-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
  }
}

.master-visual {
  position: relative;
}

.master-portrait-placeholder {
  background: var(--bg-secondary);
  border-radius: 24px;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border-color);
}

.master-portrait {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.master-portrait-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.master-logo {
  max-width: 220px;
  margin-bottom: 24px;
  opacity: 0.7;
}

.master-quote {
  margin-top: 24px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: 16px;
  border-left: 4px solid var(--brand-gold);
  box-shadow: var(--shadow-sm);
}

.master-quote p {
  font-family: "Noto Serif SC", serif;
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.master-quote cite {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: normal;
}

.master-content .lead {
  margin-top: 24px;
}

.master-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.tag {
  padding: 8px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.tag:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

/* 三大真义 */
.section-values {
  background: var(--bg-secondary);
}

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

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 40px 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.value-subtitle {
  color: var(--brand-red);
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.value-list li {
  padding: 10px 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
  position: relative;
  padding-left: 20px;
}

.value-list li:last-child {
  border-bottom: none;
}

.value-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--brand-red);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.4;
}

/* 产品矩阵 */
.section-products {
  background: var(--bg-primary);
}

.lid-styles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 64px;
}

.lid-style-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 16px;
  text-align: center;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.lid-style-card:hover,
.lid-style-card.active {
  border-color: var(--brand-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.lid-style-card img {
  width: 100%;
  max-width: 160px;
  margin: 0 auto 12px;
  border-radius: 12px;
}

.lid-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.lid-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.product-image-placeholder {
  position: relative;
  background: var(--bg-secondary);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img {
  width: 70%;
  max-width: 280px;
  transition: transform 0.5s ease;
}

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

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: var(--brand-red);
  color: #fff;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.product-info {
  padding: 28px;
}

.product-info h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.product-desc {
  color: var(--brand-red);
  font-size: 0.9rem;
  margin-bottom: 16px;
  font-weight: 500;
}

.product-cap {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-gold);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.product-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
}

.product-features li:last-child {
  border-bottom: none;
}

/* 非遗工艺 */
.section-craft {
  background: var(--bg-secondary);
}

.craft-intro {
  max-width: 900px;
  margin: 0 auto 64px;
  text-align: center;
}

.craft-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .craft-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .craft-steps {
    grid-template-columns: repeat(5, 1fr);
  }
}

.craft-step {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.craft-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-red);
  font-family: "Noto Serif SC", serif;
  margin-bottom: 12px;
  opacity: 0.6;
}

.craft-step h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.craft-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* 荣誉背书 */
.section-honors {
  background: var(--bg-primary);
}

.honor-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 80px;
}

@media (min-width: 768px) {
  .honor-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .honor-highlights {
    grid-template-columns: repeat(4, 1fr);
  }
}

.honor-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.honor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.honor-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.honor-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.honor-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.subsection-title {
  font-size: 1.35rem;
  margin-bottom: 32px;
  text-align: center;
  color: var(--text-primary);
}

.cert-grid,
.patent-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 64px;
}

@media (min-width: 640px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .patent-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .patent-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cert-item,
.patent-item {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.cert-item:hover,
.patent-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.cert-item img,
.patent-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.patent-item img {
  aspect-ratio: 3/4;
}

.cert-item figcaption,
.patent-item figcaption {
  padding: 16px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* 联系我们 */
.section-contact {
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
  }
}

.contact-info .lead {
  margin-top: 24px;
}

.contact-methods {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.method-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-method h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-method p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-method a {
  color: var(--brand-red);
  transition: opacity 0.3s ease;
}

.contact-method a:hover {
  opacity: 0.8;
}

/* 表单 */
.contact-form-wrapper {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.required {
  color: var(--brand-red);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(184, 28, 34, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.form-error {
  display: none;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--brand-red);
  text-align: center;
}

.form-error.active {
  display: block;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px;
}

.form-success.active {
  display: flex;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.form-success p {
  color: var(--text-secondary);
}

/* 页脚 */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.5fr;
  }
}

.footer-logo {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links a,
.footer-links p {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--brand-red);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

/* 滚动显示动画 */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 性能优化：减少动画 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* 移动端适配细节 */
@media (max-width: 767px) {
  .hero-stats {
    gap: 24px;
  }
  .stat-num {
    font-size: 1.75rem;
  }
  .floating-badge {
    font-size: 0.75rem;
    padding: 8px 12px;
  }
  .badge-top {
    top: 5%;
    right: 0;
  }
  .badge-bottom {
    bottom: 10%;
    left: -5%;
  }
  .story-card,
  .contact-form-wrapper {
    padding: 28px;
  }
  .lid-styles {
    gap: 10px;
  }
  .lid-style-card {
    padding: 10px;
  }
  .lid-info h4 {
    font-size: 0.9rem;
  }
  .lid-info p {
    font-size: 0.7rem;
  }
}
