/* ============================================
   尖派品牌官网 - 清新生活风
   品牌主色: #e8a87c (暖橙)
   品牌辅色: #41b3a3 (青绿)
   风格调性: 留白 / 呼吸感 / 故事叙事 / 产品特写
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* 以下颜色统一引用 shared/tokens.css 的单一配色源（按 data-theme 主题化） */
  --color-primary: var(--brand);
  --color-primary-light: var(--brand-soft);
  --color-primary-dark: var(--brand-strong);
  --color-secondary: var(--secondary);
  --color-secondary-light: var(--secondary-soft);
  --color-secondary-dark: var(--secondary-strong);
  --color-bg: var(--surface);
  --color-bg-warm: var(--bg-alt);
  --color-bg-cool: var(--bg-alt);
  --color-bg-cream: var(--bg);
  --color-text: var(--text);
  --color-text-light: var(--text-muted);
  --color-text-lighter: var(--text-soft);
  --color-border: var(--border);
  --font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "WenQuanYi Micro Hei", sans-serif;
  --font-serif: "Georgia", "Noto Serif SC", "SimSun", serif;
  --max-width: 1200px;
  --header-height: 70px;
  --transition: 0.3s ease;
  --section-gap: 140px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary);
}

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

ul, ol {
  list-style: none;
}

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

::selection {
  background: var(--color-primary-light);
  color: var(--color-text);
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
  text-align: center;
  letter-spacing: 1px;
}

.btn-hero {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232, 168, 124, 0.35);
}

.btn-hero:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 168, 124, 0.45);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn-secondary {
  background: var(--color-secondary);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--color-secondary-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 168, 124, 0.4);
}

/* ---------- Header / Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.4s ease;
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.header-logo img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-logo span {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 2px;
  transition: color var(--transition);
}

.header.scrolled .header-logo span {
  color: var(--color-text);
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 1px;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.header.scrolled .nav-links a {
  color: var(--color-text-light);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active {
  color: var(--color-primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

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

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 5px;
  background: none;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: all var(--transition);
  border-radius: 2px;
}

.header.scrolled .menu-toggle span {
  background: var(--color-text);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1a1a1a;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.9);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  max-width: 680px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 6px;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 6px 20px;
  border-radius: 2px;
  margin-bottom: 32px;
  animation: fadeInDown 1s ease forwards;
  opacity: 0;
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 300;
  letter-spacing: 6px;
  line-height: 1.4;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease 0.15s forwards;
  opacity: 0;
}

.hero-content h1 .highlight {
  color: var(--color-primary);
  font-weight: 600;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 40px;
  opacity: 0;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 2px;
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-content .btn {
  animation: fadeInUp 1s ease 0.5s forwards;
  opacity: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ---------- Brand Essence Section ---------- */
.essence {
  padding: 120px 0;
  background: var(--color-bg);
}

.essence-text {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 80px;
}

.essence-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
}

.essence-label::before,
.essence-label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--color-secondary);
  opacity: 0.4;
}

.essence-label::before {
  right: calc(100% + 12px);
}

.essence-label::after {
  left: calc(100% + 12px);
}

.essence-text h2 {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 24px;
  letter-spacing: 2px;
}

.essence-text p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 2;
}

.essence-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.value-item {
  text-align: center;
  padding: 40px 24px;
  position: relative;
}

.value-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--color-border);
}

.value-item:last-child::after {
  display: none;
}

.value-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--color-primary);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 20px;
}

.value-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.value-info p {
  font-size: 0.9rem;
  color: var(--color-text-lighter);
  line-height: 1.6;
}

/* ---------- Product Story Section ---------- */
.product-story {
  padding: 0;
  background: var(--color-bg-warm);
  overflow: hidden;
}

.product-story-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.product-story.reverse .product-story-inner {
  direction: rtl;
}

.product-story.reverse .product-story-inner > * {
  direction: ltr;
}

.story-visual {
  position: relative;
}

.story-img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.story-img-main img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.product-story:hover .story-img-main img {
  transform: scale(1.03);
}

.story-img-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 160px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border: 4px solid #fff;
}

.product-story.reverse .story-img-accent {
  right: auto;
  left: -30px;
}

.story-img-accent img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.story-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--color-primary);
  color: #fff;
  padding: 6px 18px;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
}

.story-text {
  padding: 20px 0;
}

.story-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--color-text-lighter);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.story-text h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.story-tagline {
  font-size: 1.15rem;
  color: var(--color-primary);
  font-weight: 400;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.story-text p {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 32px;
}

/* ---------- Real Moments Section ---------- */
.moments {
  padding: 120px 0;
  background: var(--color-bg);
}

.moments-header {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 60px;
}

.moments-header h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.moments-header p {
  color: var(--color-text-lighter);
  font-size: 1rem;
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.moment-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.moment-item.large {
  grid-column: span 2;
}

.moment-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.6s ease;
}

.moment-item.large img {
  aspect-ratio: 16 / 9;
}

.moment-item:hover img {
  transform: scale(1.05);
}

.moment-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease;
}

.moment-item:hover .moment-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Product Gallery Slider ---------- */
.gallery {
  padding: 120px 0;
  background: var(--color-bg-warm);
}

.gallery-header {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 60px;
}

.gallery-header h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 2px;
}

.photos-slider {
  position: relative;
  overflow: hidden;
}

.photos-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s ease;
  padding: 4px 0;
}

.photos-track img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.photos-track img:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.photos-prev,
.photos-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  font-size: 1.3rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.photos-prev:hover,
.photos-next:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  color: var(--color-primary);
}

.photos-prev {
  left: 8px;
}

.photos-next {
  right: 8px;
}

/* ---------- Video Section ---------- */
.video-section {
  padding: 120px 0;
  background: var(--color-bg);
}

.video-header {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 50px;
}

.video-header h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 2px;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
  background: #000;
}

.video-wrapper video {
  width: 100%;
  display: block;
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 168, 124, 0.12), transparent 70%);
  top: -200px;
  right: -100px;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.4rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  margin-bottom: 36px;
  letter-spacing: 1px;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Products Page (keep for sub-pages) ---------- */
.products-page {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
}

.products-hero {
  text-align: center;
  padding: 60px 0 40px;
  background: linear-gradient(180deg, var(--color-bg-warm) 0%, var(--color-bg) 100%);
}

.products-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.products-hero h1 span {
  color: var(--color-primary);
}

.products-hero p {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

/* Product Tabs */
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.product-tab {
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  background: var(--color-bg-warm);
  color: var(--color-text-light);
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
}

.product-tab:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary);
}

.product-tab.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* Product Detail */
.product-detail {
  display: none;
  animation: fadeIn 0.5s ease;
}

.product-detail.active {
  display: block;
}

.product-detail-inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.product-detail-gallery {
  flex: 1;
  max-width: 500px;
}

.product-detail-gallery img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.product-detail-info {
  flex: 1;
}

.product-detail-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-detail-info .tagline {
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.product-detail-info .desc {
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 24px;
}

.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--color-bg-warm);
  border-radius: 10px;
}

.product-feature .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.product-feature span {
  font-size: 0.9rem;
  color: var(--color-text);
  font-weight: 500;
}

/* Nutrition Table */
.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  margin-bottom: 30px;
}

.nutrition-table th,
.nutrition-table td {
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.nutrition-table th {
  background: var(--color-bg-warm);
  color: var(--color-text);
  font-weight: 600;
}

.nutrition-table td {
  color: var(--color-text-light);
}

/* Product detail images grid */
.detail-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.detail-images img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition);
}

.detail-images img:hover {
  transform: scale(1.03);
}

/* ---------- About Page ---------- */
.about-page {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
}

.about-hero {
  text-align: center;
  padding: 60px 0 40px;
  background: linear-gradient(180deg, var(--color-bg-cool) 0%, var(--color-bg) 100%);
}

.about-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-hero h1 span {
  color: var(--color-secondary);
}

.about-hero p {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

.about-section {
  padding: 60px 0;
}

.about-section + .about-section {
  border-top: 1px solid var(--color-border);
}

.about-section .container {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-section.reverse .container {
  flex-direction: row-reverse;
}

.about-section-text {
  flex: 1;
}

.about-section-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.about-section-text h2 span {
  color: var(--color-primary);
}

.about-section-text p {
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 12px;
}

.about-section-text ul {
  margin: 16px 0;
}

.about-section-text ul li {
  padding: 6px 0;
  color: var(--color-text-light);
  position: relative;
  padding-left: 24px;
}

.about-section-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: 700;
}

.about-section-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-section-img img {
  max-width: 450px;
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

/* Quality certs */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.cert-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition);
}

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

.cert-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.cert-card .cert-info {
  padding: 16px;
  text-align: center;
}

.cert-card .cert-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.cert-card .cert-info p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* About page scene cards */
.scene-card-about {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition);
  aspect-ratio: 4 / 3;
}

.scene-card-about:hover {
  transform: translateY(-4px);
}

.scene-card-about img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Contact Page ---------- */
.contact-page {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
}

.contact-hero {
  text-align: center;
  padding: 60px 0 40px;
  background: linear-gradient(180deg, var(--color-bg-warm) 0%, var(--color-bg) 100%);
}

.contact-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-hero h1 span {
  color: var(--color-primary);
}

.contact-hero p {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

.contact-content {
  padding: 60px 0;
}

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

.contact-info h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.contact-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--color-primary);
}

.contact-item .info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item .info p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.contact-form h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(232, 168, 124, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---------- Footer ---------- */
.footer {
  background: #2c2c2c;
  color: #ccc;
  padding: 50px 0 30px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand .logo-row img {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand .logo-row span {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #999;
}

.footer-links h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-links a {
  display: block;
  color: #999;
  font-size: 0.85rem;
  padding: 4px 0;
  transition: color var(--transition);
}

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

.footer-contact h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-contact p {
  font-size: 0.85rem;
  color: #999;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #666;
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 {
  transition-delay: 0.15s;
}

.animate-on-scroll.delay-2 {
  transition-delay: 0.3s;
}

.animate-on-scroll.delay-3 {
  transition-delay: 0.45s;
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 992px) {
  :root {
    --section-gap: 100px;
  }

  .product-story-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 24px;
  }

  .product-story.reverse .product-story-inner {
    direction: ltr;
  }

  .story-img-accent {
    bottom: -20px;
    right: -10px;
    width: 120px;
  }

  .product-story.reverse .story-img-accent {
    left: -10px;
  }

  .story-text {
    padding: 10px 0 0;
  }

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

  .moment-item.large {
    grid-column: span 2;
  }

  .product-detail-inner {
    flex-direction: column;
  }

  .product-detail-gallery {
    max-width: 100%;
  }

  .about-section .container,
  .about-section.reverse .container {
    flex-direction: column;
  }

  .about-section-img img {
    max-width: 100%;
  }

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

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

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .hero-content h1 {
    font-size: 2.4rem;
    letter-spacing: 3px;
  }

  .essence-text h2,
  .moments-header h2,
  .gallery-header h2,
  .video-header h2 {
    font-size: 1.8rem;
  }

  .story-text h2 {
    font-size: 1.8rem;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .essence-values {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .value-item::after {
    display: none;
  }

  .value-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border);
  }

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

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    color: var(--color-text);
    padding: 14px 24px;
    display: block;
    width: 100%;
    text-align: center;
  }

  .nav-links a::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

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

  .moment-item.large {
    grid-column: span 1;
  }

  .product-features {
    grid-template-columns: 1fr;
  }

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

  .detail-images {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .products-hero h1,
  .about-hero h1,
  .contact-hero h1 {
    font-size: 1.8rem;
  }

  .product-detail-info h2 {
    font-size: 1.5rem;
  }

  .photos-track img {
    width: 200px;
    height: 200px;
  }
}

/* Small phone */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }
}

/* WeChat browser compatibility */
@media screen and (max-width: 414px) {
  html {
    font-size: 15px;
  }

  .container {
    padding: 0 16px;
  }
}
