/* =============================================
   wl真人 - 暖陶赤韵 设计系统
   色彩：暖奶油白 + 赤陶色 + 鼠尾草绿 + 琥珀暖杏
   风格：有机新拟态 · 杂志排版 · 温暖触感
   ============================================= */

/* 基础重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #faf7f2;
  --bg-white: #ffffff;
  --bg-warm: #f5f0ea;
  --text-primary: #3d3530;
  --text-secondary: #6b5f58;
  --text-muted: #9b8e85;
  --color-terracotta: #c17d60;
  --color-terracotta-dark: #a86448;
  --color-terracotta-light: #e8c4b0;
  --color-sage: #7d9b76;
  --color-sage-dark: #5f7a58;
  --color-sage-light: #c5d8bf;
  --color-amber: #d4956b;
  --color-amber-light: #f2d4bc;
  --color-warm-brown: #4a3f38;
  --border-warm: #e8e0d8;
  --border-light: #f0ebe3;
  --shadow-sm: 0 2px 8px rgba(61, 53, 48, 0.06);
  --shadow-md: 0 4px 20px rgba(61, 53, 48, 0.10);
  --shadow-lg: 0 8px 32px rgba(61, 53, 48, 0.14);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  overflow-x: hidden;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 核心布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section:nth-child(even) {
  background: var(--bg-warm);
}

/* 导航 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-warm);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.8;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-amber));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(193, 125, 96, 0.3);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s, transform 0.2s;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-terracotta);
  border-radius: 1px;
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: var(--color-terracotta);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 9px 22px !important;
  border-radius: var(--radius-full) !important;
  color: #fff !important;
  font-weight: 600 !important;
  background: var(--color-terracotta) !important;
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s !important;
  box-shadow: 0 3px 12px rgba(193, 125, 96, 0.3);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--color-terracotta-dark) !important;
  box-shadow: 0 5px 18px rgba(193, 125, 96, 0.4) !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* 首页Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(175deg, #faf7f2 0%, #f5efe7 40%, #faf7f2 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -180px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193, 125, 96, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 155, 118, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  background: var(--color-terracotta-light);
  color: var(--color-terracotta-dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 22px;
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  color: var(--color-terracotta);
  position: relative;
  display: inline-block;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(193, 125, 96, 0.18);
  border-radius: 4px;
  z-index: -1;
}

.hero p {
  font-size: 1.15rem;
  opacity: 1;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-warm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(61, 53, 48, 0.18);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--color-terracotta);
  color: #fff;
  box-shadow: 0 4px 14px rgba(193, 125, 96, 0.35);
}

.btn-primary:hover {
  background: var(--color-terracotta-dark);
  box-shadow: 0 6px 20px rgba(168, 100, 72, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1.8px solid var(--color-terracotta);
  color: var(--color-terracotta);
}

.btn-outline:hover {
  background: var(--color-terracotta);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 12px;
  color: var(--color-sage);
  text-transform: uppercase;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: var(--text-primary);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-desc {
  max-width: 600px;
  opacity: 1;
  color: var(--text-secondary);
  margin-bottom: 44px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  border: 1px solid var(--border-warm);
  background: var(--bg-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-terracotta), var(--color-amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  border-radius: 0 0 2px 2px;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.category-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: var(--color-sage-light);
  color: var(--color-sage-dark);
  transition: transform 0.3s ease;
}

.category-card:hover .card-icon {
  transform: scale(1.08);
}

.card-link {
  font-weight: 650;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--color-terracotta);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease, color 0.25s;
  margin-top: 8px;
}

.card-link:hover {
  gap: 10px;
  color: var(--color-terracotta-dark);
}

.card-link::after {
  content: '→';
  transition: transform 0.25s ease;
}

.card-link:hover::after {
  transform: translateX(3px);
}

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-warm);
  transition: transform 0.35s ease;
}

.feature-image:hover {
  transform: scale(1.02);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  color: var(--text-primary);
}

.feature-list {
  list-style: none;
  margin-top: 16px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '✓';
  font-weight: 700;
  color: var(--color-sage);
  font-size: 1rem;
  flex-shrink: 0;
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-warm);
  background: var(--bg-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-terracotta);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 1;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-warm);
  background: var(--bg-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-wall-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.content-wall-item:hover img {
  transform: scale(1.04);
}

.content-wall-body {
  padding: 20px;
}

.content-wall-body h3 {
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.content-wall-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: var(--color-terracotta-light);
}

.faq-item.open {
  border-color: var(--color-terracotta);
  box-shadow: var(--shadow-sm);
  background: #fefcf9;
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 650;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  font-size: 0.98rem;
  transition: color 0.25s;
}

.faq-item.open .faq-question {
  color: var(--color-terracotta);
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-question::after {
  content: '−';
  color: var(--color-terracotta);
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 1;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
  animation: faqFadeIn 0.35s ease;
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA横幅 */
.cta-banner {
  padding: 60px 28px;
  text-align: center;
  border-radius: var(--radius-xl);
  color: #fff;
  background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-amber) 50%, var(--color-terracotta-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 750;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--color-terracotta);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.cta-banner .btn-primary:hover {
  background: #fefcf9;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
  color: var(--color-terracotta-dark);
}

/* 页脚 */
.site-footer {
  padding: 56px 0 28px;
  background: var(--color-warm-brown);
  color: #d5cfc8;
}

.site-footer .container {
  color: #d5cfc8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  color: #d5cfc8;
}

.footer-brand .logo {
  color: #f0e8df;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #b8afa6;
}

.footer-col h4 {
  color: #f0e8df;
  font-weight: 650;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.footer-col a {
  display: block;
  color: #b8afa6;
  text-decoration: none;
  font-size: 0.88rem;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--color-terracotta-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 44px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #9b9086;
}

/* 工具类 */
.text-accent {
  color: var(--color-terracotta);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 1;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* 卡片内的标题 */
.category-card h3 {
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.category-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 特性块标题 */
.feature-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-text p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 内容墙标题 */
.content-wall-body h3 {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.content-wall-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* 卡片悬停时card-link的颜色保持 */
.category-card:hover .card-link {
  color: var(--color-terracotta-dark);
}

/* Section内标题居中辅助 */
.section .text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   响应式设计
   ============================================= */
@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-image {
    order: -1;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px;
    border-bottom: 1px solid var(--border-warm);
    box-shadow: var(--shadow-md);
    gap: 16px;
    animation: navSlideIn 0.3s ease;
  }

  @keyframes navSlideIn {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .main-nav.open a {
    font-size: 1rem;
    padding: 8px 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero {
    min-height: 60vh;
    padding-top: 80px;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }

  .cta-banner {
    padding: 44px 20px;
  }

  .cards-grid {
    gap: 16px;
  }

  .content-wall {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .feature-block {
    gap: 24px;
  }

  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .stats-bar {
    gap: 10px;
  }

  .stat-item {
    padding: 20px 14px;
  }
}

/* =============================================
   额外微交互与细节
   ============================================= */

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 选中文字颜色 */
::selection {
  background: var(--color-terracotta-light);
  color: var(--color-terracotta-dark);
}

/* 焦点可见 */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 图片通用处理 */
img {
  max-width: 100%;
  height: auto;
}

/* 链接通用过渡 */
a {
  transition: color 0.2s ease;
}

/* 按钮点击反馈 */
.btn:active {
  transform: scale(0.97);
}