/* =============================================
   新2网址 - 皇冠新2平台 - 完整设计系统
   风格：温暖陶土 × 鼠尾草绿 × 奶油白
   设计语言：有机柔和 · 呼吸感 · 高雅自然
   ============================================= */

/* --- 基础重置 --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  overflow-x: hidden;
  background: #faf7f2;
  color: #3d322b;
  line-height: 1.6;
  font-size: 16px;
}

/* --- 核心布局 --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #f5f0e8;
}

/* --- 导航 — 固定顶部 --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(193, 125, 90, 0.12);
  transition: box-shadow 0.35s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(139, 94, 60, 0.08);
}

.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.2rem;
  text-decoration: none;
  color: #3d322b;
  letter-spacing: -0.01em;
  transition: opacity 0.25s;
}

.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, #c17d5a 0%, #d4956e 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 3px 12px rgba(193, 125, 90, 0.28);
}

.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: #5c4a3d;
  position: relative;
  transition: color 0.25s;
  letter-spacing: 0.01em;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #c17d5a;
  border-radius: 1px;
  transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

.main-nav a:hover {
  color: #c17d5a;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 22px;
  border-radius: 24px;
  color: #fff !important;
  font-weight: 600;
  background: linear-gradient(135deg, #7a9d7e 0%, #5f8b64 100%);
  box-shadow: 0 3px 14px rgba(122, 157, 126, 0.3);
  transition: transform 0.25s, box-shadow 0.25s !important;
  letter-spacing: 0.02em;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 157, 126, 0.4);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #3d322b;
  border-radius: 2px;
  transition: 0.3s;
}

/* --- 首页 Hero --- */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -180px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(193, 125, 90, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -140px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(122, 157, 126, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  background: rgba(193, 125, 90, 0.1);
  color: #c17d5a;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.18;
  margin-bottom: 22px;
  font-weight: 800;
  color: #3d322b;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: #c17d5a;
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(193, 125, 90, 0.2);
  border-radius: 4px;
  z-index: -1;
}

.hero p {
  font-size: 1.12rem;
  opacity: 0.7;
  max-width: 560px;
  margin-bottom: 34px;
  color: #5c4a3d;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(139, 94, 60, 0.12);
  transition: transform 0.4s ease;
}

.hero-image:hover {
  transform: translateY(-6px);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- 按钮 --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 26px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, #c17d5a 0%, #a86b4a 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(193, 125, 90, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(193, 125, 90, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid #c17d5a;
  color: #c17d5a;
}

.btn-outline:hover {
  background: #c17d5a;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(193, 125, 90, 0.3);
}

/* --- 标签/标题 --- */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 14px;
  color: #c17d5a;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.1rem;
  margin-bottom: 16px;
  font-weight: 800;
  color: #3d322b;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 44px;
  color: #5c4a3d;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* --- 卡片网格 --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  border-radius: 16px;
  padding: 30px 28px;
  border: 1px solid rgba(193, 125, 90, 0.1);
  background: #fff;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1.2);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #c17d5a, #d4956e, #c17d5a);
  opacity: 0;
  transition: opacity 0.35s;
  border-radius: 0 0 2px 2px;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(139, 94, 60, 0.1);
  border-color: rgba(193, 125, 90, 0.25);
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: rgba(122, 157, 126, 0.12);
  color: #5f8b64;
  transition: transform 0.3s;
}

.category-card:hover .card-icon {
  transform: scale(1.08);
}

.category-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #3d322b;
}

.category-card p {
  font-size: 0.9rem;
  color: #5c4a3d;
  opacity: 0.7;
  line-height: 1.55;
  margin-bottom: 16px;
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #c17d5a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}

.card-link::after {
  content: '→';
  transition: transform 0.3s;
}

.card-link:hover {
  gap: 10px;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* --- 特性块 --- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(139, 94, 60, 0.1);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #3d322b;
  letter-spacing: -0.01em;
}

.feature-text p {
  opacity: 0.7;
  color: #5c4a3d;
  margin-bottom: 20px;
  line-height: 1.65;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #3d322b;
}

.feature-list li::before {
  content: '✓';
  font-weight: 700;
  color: #5f8b64;
  font-size: 0.9rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(122, 157, 126, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  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: 16px;
  border: 1px solid rgba(193, 125, 90, 0.08);
  background: #fff;
  transition: all 0.35s;
  position: relative;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(139, 94, 60, 0.1);
  border-color: rgba(193, 125, 90, 0.2);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: #c17d5a;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  color: #5c4a3d;
  font-weight: 500;
}

/* --- 内容墙 --- */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(193, 125, 90, 0.08);
  background: #fff;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

.content-wall-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(139, 94, 60, 0.12);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.content-wall-item:hover img {
  transform: scale(1.04);
}

.content-wall-body {
  padding: 22px 20px;
}

.content-wall-body h4 {
  font-weight: 700;
  margin-bottom: 6px;
  color: #3d322b;
  font-size: 1.05rem;
}

.content-wall-body p {
  font-size: 0.88rem;
  opacity: 0.65;
  color: #5c4a3d;
  line-height: 1.5;
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(193, 125, 90, 0.1);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: rgba(193, 125, 90, 0.25);
}

.faq-item.open {
  border-color: rgba(193, 125, 90, 0.35);
  box-shadow: 0 4px 20px rgba(139, 94, 60, 0.08);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #3d322b;
  font-size: 0.98rem;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: #c17d5a;
  transition: transform 0.35s;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.7;
  color: #5c4a3d;
  line-height: 1.6;
  font-size: 0.92rem;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeSlideIn 0.35s ease;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 0.7;
    transform: translateY(0);
  }
}

/* --- CTA 横幅 --- */
.cta-banner {
  padding: 60px 24px;
  text-align: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #a0684a 0%, #c17d5a 40%, #b87555 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  font-size: 1.02rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #a0684a;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  background: #faf7f2;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

/* --- 页脚 --- */
.site-footer {
  padding: 56px 0 28px;
  background: #3d322b;
  color: #d4c5b8;
}

.site-footer a {
  color: #d4c5b8;
  text-decoration: none;
  transition: color 0.25s;
}

.site-footer a:hover {
  color: #faf7f2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand h4 {
  color: #faf7f2;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h5 {
  color: #faf7f2;
  font-weight: 600;
  margin-bottom: 14px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  opacity: 0.7;
  transition: opacity 0.25s, padding-left 0.25s;
}

.footer-col ul li a:hover {
  opacity: 1;
  padding-left: 4px;
  color: #faf7f2;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 197, 184, 0.15);
  margin-top: 40px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.55;
}

/* --- 工具类 --- */
.text-accent {
  color: #c17d5a;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: #5c4a3d;
  line-height: 1.65;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* --- 响应式 --- */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .feature-block {
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .hero {
    min-height: 55vh;
  }

  .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.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 24px;
    border-bottom: 1px solid rgba(193, 125, 90, 0.12);
    box-shadow: 0 8px 24px rgba(139, 94, 60, 0.08);
  }

  .main-nav.open a {
    padding: 10px 0;
    font-size: 1rem;
  }

  .nav-cta {
    display: inline-block;
    text-align: center;
    margin-top: 8px;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .cta-banner {
    padding: 40px 20px;
  }

  .cta-banner h2 {
    font-size: 1.45rem;
  }

  .feature-block {
    gap: 24px;
  }
}

/* --- 额外微交互 --- */
.category-card:active,
.content-wall-item:active {
  transform: scale(0.98);
}

.stat-item:active {
  transform: scale(0.97);
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: #f5f0e8;
}

::-webkit-scrollbar-thumb {
  background: #c17d5a;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a86b4a;
}