/* 基础重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::selection {
  background: #7C3AED;
  color: #fff;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background-color: #FFFBF7;
  color: #2D2320;
  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;
  position: relative;
}

.section:nth-child(even) {
  background: #F7F3EE;
}

/* 导航 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 251, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #E8E3DF;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(124, 58, 237, 0.06);
}

.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.15rem;
  text-decoration: none;
  color: #2D2320;
  letter-spacing: -0.3px;
  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: 1rem;
  background: linear-gradient(135deg, #7C3AED, #9B5DE5);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 3px 12px rgba(124, 58, 237, 0.25);
}

.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: #5C4F47;
  transition: color 0.2s, transform 0.2s;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #7C3AED;
  border-radius: 1px;
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: #7C3AED;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 22px !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-weight: 600 !important;
  background: #FF5E5B;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 3px 12px rgba(255, 94, 91, 0.25);
}

.nav-cta:hover {
  background: #E84D4A;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 94, 91, 0.35);
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #2D2320;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 首页Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  gap: 48px;
  padding-top: 68px;
}

.hero-content {
  max-width: 720px;
  flex: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  background: #D4F5DE;
  color: #2D7D46;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #2D2320;
}

.hero h1 .text-accent {
  color: #7C3AED;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.7;
  max-width: 560px;
  margin-bottom: 32px;
  color: #5C4F47;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  flex: 0 0 42%;
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.1), 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid #E8E3DF;
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(132, 226, 150, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  font-size: 0.95rem;
  letter-spacing: -0.2px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #7C3AED, #6D28D9);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #6D28D9, #5B21B6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #7C3AED;
  color: #7C3AED;
}

.btn-outline:hover {
  background: #7C3AED;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.25);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: #7C3AED;
  text-transform: uppercase;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #2D2320;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 40px;
  color: #5C4F47;
  line-height: 1.7;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  border-radius: 14px;
  padding: 28px;
  border: 1px solid #E8E3DF;
  transition: all 0.3s ease;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, #7C3AED, #FF5E5B);
  border-radius: 0 3px 3px 0;
  transition: height 0.35s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.1), 0 4px 8px rgba(0, 0, 0, 0.04);
  border-color: #D5CFE8;
}

.category-card:hover::before {
  height: 100%;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
  background: #E8F8EB;
  color: #3D8B52;
  transition: transform 0.3s ease;
}

.category-card:hover .card-icon {
  transform: scale(1.08);
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #7C3AED;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 8px;
}

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(124, 58, 237, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid #E8E3DF;
  position: relative;
}

.feature-image::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 94, 91, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.feature-text {
  position: relative;
}

.feature-list {
  list-style: none;
  margin-top: 16px;
}

.feature-list li {
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #4A3F38;
}

.feature-list li::before {
  content: '✓';
  font-weight: 700;
  color: #3D8B52;
  font-size: 1rem;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E8F8EB;
  border-radius: 50%;
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 28px 20px;
  border-radius: 14px;
  border: 1px solid #E8E3DF;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.08);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: #7C3AED;
  letter-spacing: -0.5px;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  color: #5C4F47;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E8E3DF;
  transition: all 0.3s ease;
  background: #fff;
}

.content-wall-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(124, 58, 237, 0.1), 0 4px 8px rgba(0, 0, 0, 0.04);
  border-color: #D5CFE8;
}

.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: 700;
  margin-bottom: 8px;
  color: #2D2320;
}

.content-wall-body p {
  font-size: 0.9rem;
  color: #5C4F47;
  opacity: 0.75;
  line-height: 1.5;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #E8E3DF;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
  border-color: #D5CFE8;
}

.faq-item.open {
  border-color: #C5B8E8;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.06);
}

.faq-item .faq-question {
  padding: 17px 20px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2D2320;
  transition: color 0.2s;
  user-select: none;
}

.faq-item.open .faq-question {
  color: #7C3AED;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: #7C3AED;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 20px 18px;
  display: none;
  opacity: 0.7;
  color: #5C4F47;
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 0.7; transform: translateY(0); }
}

/* CTA横幅 */
.cta-banner {
  padding: 56px 24px;
  text-align: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #7C3AED 0%, #9B5DE5 30%, #FF5E5B 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -30px;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  position: relative;
  z-index: 1;
  opacity: 0.85;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #7C3AED;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  background: #f8f6ff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* 页脚 */
.site-footer {
  padding: 56px 0 28px;
  background: #F0E8DF;
  color: #4A3F38;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-size: 0.95rem;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  opacity: 0.7;
  line-height: 1.6;
  font-size: 0.9rem;
  color: #5C4F47;
}

.footer-col h4 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: #2D2320;
  letter-spacing: -0.2px;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: #5C4F47;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.2s;
  opacity: 0.75;
}

.footer-col a:hover {
  color: #7C3AED;
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid #D8CFC6;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
  color: #5C4F47;
}

/* 工具类 */
.text-accent {
  color: #7C3AED;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: #5C4F47;
  line-height: 1.7;
  font-size: 0.95rem;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 40px;
    gap: 32px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
    letter-spacing: -0.4px;
  }

  .hero p {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 480px;
  }

  .hero-image::before {
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-image::after {
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-number {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .main-nav {
    display: none;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: #FFFBF7;
    padding: 24px;
    border-bottom: 1px solid #E8E3DF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    gap: 16px;
    z-index: 999;
  }

  .main-nav.open a {
    font-size: 1rem;
    padding: 8px 0;
  }

  .main-nav.open .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .menu-toggle {
    display: flex;
  }

  .cta-banner {
    padding: 40px 20px;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 88px;
    gap: 24px;
  }

  .hero h1 {
    font-size: 1.65rem;
    letter-spacing: -0.3px;
  }

  .hero p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons .btn {
    justify-content: center;
    width: 100%;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: 20px 16px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .category-card {
    padding: 22px;
  }

  .content-wall-body {
    padding: 16px;
  }

  .content-wall-item img {
    height: 180px;
  }

  .cta-banner {
    padding: 32px 16px;
    border-radius: 12px;
  }

  .section {
    padding: 40px 0;
  }

  .section-desc {
    margin-bottom: 28px;
  }

  .feature-block {
    gap: 24px;
  }
}