/* ============================
   有肉社群 · 品牌简介页
   深色底 + 暖色品牌阵地页风格
   ============================ */

/* ============================
   设计系统 Token（与工具页保持一致）
   ============================ */
:root {
  --bg:            #0d0a07;
  --bg-surface:    #141009;
  --panel:         rgba(255,253,248,0.045);
  --panel-hover:   rgba(255,253,248,0.075);
  --panel-active:  rgba(255,253,248,0.11);

  --ink:           #fffdf8;
  --ink-2:         rgba(255,253,248,0.72);
  --ink-3:         rgba(255,253,248,0.44);
  --ink-4:         rgba(255,253,248,0.22);

  --line:          rgba(255,253,248,0.09);
  --line-2:        rgba(255,253,248,0.18);

  --accent:        #d4a853;
  --accent-h:      #e5be6b;
  --accent-dim:    rgba(212,168,83,0.15);
  --accent-glow:   0 0 24px rgba(212,168,83,0.22);

  /* 品牌页专属暖色 */
  --warm-1:        #c97b3a;
  --warm-2:        #8b5e3c;
  --warm-glow:     rgba(201,123,58,0.15);

  --shadow-sm:     0 4px 16px rgba(0,0,0,0.28);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.65);

  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;

  color-scheme: dark;
  font-family: 'Outfit', 'PingFang SC', system-ui, sans-serif;
}

/* 重置 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(201,123,58,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(212,168,83,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(139,94,60,0.06) 0%, transparent 50%);
  color: var(--ink);
  overflow-x: hidden;
}

h1,h2,h3 { font-family: 'Noto Serif SC', serif; }
a { color: inherit; text-decoration: none; }

/* ============================
   顶栏（与工具页保持一致）
   ============================ */
.topbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
  height: 52px;
  background: rgba(10,8,5,0.88);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(212,168,83,0.15);
  position: sticky;
  top: 0;
  z-index: 200;
}

.topbar-brand { flex: 0 0 auto; }

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-cn-main {
  font-family: 'Noto Serif SC', serif;
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(160deg, #f0d080 0%, #d4a853 45%, #b8892e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  line-height: 1;
  filter: drop-shadow(0 1px 4px rgba(212,168,83,0.4));
}
.brand-divider {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, transparent, rgba(212,168,83,0.5) 30%, rgba(212,168,83,0.5) 70%, transparent);
}
.brand-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  letter-spacing: 0.5px;
}
.brand-tagline {
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.6px;
  line-height: 1;
  font-family: 'Outfit', sans-serif;
}

.topbar-center { flex: 1; text-align: center; }
.topbar-right { flex: 0 0 auto; }

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.nav-btn:hover {
  background: var(--panel);
  color: var(--accent);
  border-color: var(--accent);
}
.nav-btn.active {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: rgba(212,168,83,0.4);
}

/* 返回按钮 */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--line);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.back-btn:hover {
  background: var(--panel);
  color: var(--accent);
  border-color: var(--accent);
}

/* ============================
   英雄区
   ============================ */
.hero {
  position: relative;
  padding: 100px 24px 80px;
  text-align: center;
  overflow: hidden;
}

/* 装饰性光晕背景 */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(212,168,83,0.12) 0%, rgba(201,123,58,0.06) 40%, transparent 70%);
  pointer-events: none;
}

/* 大理石纹路装饰 SVG */
.hero-marbling {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.hero-marbling svg {
  width: 100%;
  height: 100%;
}
.hm { animation: heroFloat 16s ease-in-out infinite; }
.hm1 { animation-duration: 18s; animation-delay: 0s; }
.hm2 { animation-duration: 22s; animation-delay: -4s; }
.hm3 { animation-duration: 20s; animation-delay: -8s; }
.hm4 { animation-duration: 24s; animation-delay: -12s; }
@keyframes heroFloat {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50%       { opacity: 0.7; transform: translateY(-8px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

/* 品牌图标 */
.hero-icon {
  font-size: 64px;
  margin-bottom: 24px;
  display: block;
  animation: iconFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4));
}
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.hero-title .accent-text {
  background: linear-gradient(135deg, #f0d080, #d4a853, #c97b3a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* 装饰分隔线 */
.hero-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 auto;
}

/* 入场动画 */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}
.fade-up-d1 { animation-delay: 0.1s; }
.fade-up-d2 { animation-delay: 0.25s; }
.fade-up-d3 { animation-delay: 0.4s; }
.fade-up-d4 { animation-delay: 0.55s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================
   内容区通用容器
   ============================ */
.about-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 区块通用间距 */
.about-section {
  padding: 60px 0;
}
.about-section + .about-section {
  border-top: 1px solid var(--line);
}

/* 区块标题 */
.section-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 1.4;
}

/* ============================
   品牌背景区
   ============================ */
.origin-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.origin-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--warm-1), var(--accent));
}

.origin-quote {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
  position: relative;
  padding-left: 20px;
  border-left: 3px solid rgba(212,168,83,0.3);
  margin-bottom: 20px;
}
.origin-quote strong {
  color: var(--ink);
}
.origin-quote:last-child {
  margin-bottom: 0;
}

/* ============================
   照片轮播
   ============================ */
.photo-carousel {
  position: relative;
  margin-top: 24px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 照片底部说明 */
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 20px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* 左右切换按钮 */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
  z-index: 2;
}
.carousel-btn:hover {
  background: rgba(0,0,0,0.7);
  border-color: rgba(212,168,83,0.5);
  transform: translateY(-50%) scale(1.08);
}
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

/* 圆点指示器 */
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.25s;
}
.carousel-dot.active {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(212,168,83,0.5);
  transform: scale(1.2);
}
.carousel-dot:hover:not(.active) {
  background: rgba(255,255,255,0.6);
}

/* ============================
   视频展示区
   ============================ */
.video-wrapper {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-sm);
}
.video-wrapper video {
  width: 100%;
  display: block;
  border-radius: var(--r-lg);
}

/* ============================
   服务三板斧
   ============================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--warm-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  border-color: rgba(212,168,83,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
  position: relative;
  z-index: 1;
}
.service-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.service-desc {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ============================
   价格优势区
   ============================ */
.price-section {
  background: linear-gradient(135deg, rgba(212,168,83,0.06) 0%, rgba(201,123,58,0.04) 100%);
  border-radius: var(--r-lg);
  border: 1px solid rgba(212,168,83,0.12);
  padding: 40px;
  text-align: center;
}

.price-comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.price-item {
  text-align: center;
}
.price-label {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.price-value {
  font-size: 36px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}
.price-value.old {
  color: var(--ink-4);
  text-decoration: line-through;
  text-decoration-color: rgba(185,56,44,0.6);
}
.price-value.new {
  color: var(--accent);
  text-shadow: 0 0 20px rgba(212,168,83,0.3);
}
.price-unit {
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 400;
}

.price-arrow {
  font-size: 32px;
  color: var(--accent);
  animation: arrowPulse 2s ease-in-out infinite;
}
@keyframes arrowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.15); }
}

.price-note {
  font-size: 16px;
  color: var(--ink-2);
  margin-top: 8px;
  font-weight: 600;
}
.price-note .highlight {
  color: var(--accent);
}

/* ============================
   品鉴体验区
   ============================ */
.tasting-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tasting-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 24px;
  transition: all 0.25s;
}
.tasting-item:hover {
  border-color: rgba(212,168,83,0.2);
  background: var(--panel-hover);
}

.tasting-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 10px;
}
.tasting-text {
  flex: 1;
}
.tasting-text strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}
.tasting-text p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
  margin: 0;
}

/* ============================
   CTA 行动号召区
   ============================ */
.cta-section {
  text-align: center;
  padding: 80px 24px;
}

.cta-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.cta-subtitle {
  font-size: 16px;
  color: var(--ink-3);
  margin-bottom: 32px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--warm-1));
  color: var(--bg);
  padding: 14px 40px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(212,168,83,0.35);
  letter-spacing: 1px;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212,168,83,0.5);
  background: linear-gradient(135deg, var(--accent-h), var(--accent));
}

/* ============================
   弹窗（加入社群）
   ============================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: rgba(20,16,9,0.95);
  border: 1px solid rgba(212,168,83,0.2);
  border-radius: var(--r-lg);
  padding: 40px;
  max-width: 400px;
  width: 90vw;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}
.modal-overlay.show .modal-box {
  transform: scale(1) translateY(0);
}

.modal-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}
.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.modal-desc {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.6;
  margin-bottom: 24px;
}
.modal-placeholder {
  background: var(--accent-dim);
  border: 1px dashed rgba(212,168,83,0.4);
  border-radius: var(--r-md);
  padding: 32px 24px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
}

.modal-close {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink-2);
  padding: 10px 28px;
  border-radius: 24px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-close:hover {
  background: var(--panel-hover);
  color: var(--ink);
}

/* ============================
   底部
   ============================ */
.about-footer {
  border-top: 1px solid var(--line);
  padding: 32px 24px;
  text-align: center;
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}
.footer-slogan {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.footer-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.footer-back:hover {
  color: var(--accent-h);
  transform: translateX(-4px);
}

/* ============================
   响应式
   ============================ */
@media (max-width: 768px) {
  .topbar {
    padding: 0 16px;
    gap: 12px;
  }
  .brand-text-group {
    display: none;
  }
  .brand-divider {
    display: none;
  }

  .hero {
    padding: 60px 16px 50px;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 16px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .price-section {
    padding: 24px 16px;
  }
  .price-comparison {
    flex-direction: column;
    gap: 16px;
  }
  .price-value {
    font-size: 28px;
  }
  .price-arrow {
    transform: rotate(90deg);
  }

  .origin-card {
    padding: 24px 20px;
  }

  .photo-carousel {
    aspect-ratio: 4 / 3;
  }
  .carousel-btn {
    width: 32px;
    height: 32px;
  }
  .carousel-caption {
    font-size: 12px;
    padding: 24px 12px 12px;
  }

  .about-container {
    padding: 0 16px;
  }
  .about-section {
    padding: 40px 0;
  }
  .section-title {
    font-size: 22px;
  }

  .cta-section {
    padding: 50px 16px;
  }
  .cta-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .hero-icon {
    font-size: 48px;
  }
  .hero-title {
    font-size: 24px;
  }
  .nav-btn, .back-btn {
    font-size: 12px;
    padding: 5px 10px;
  }
}
