/* ============================================
   ng导航 - 南宫体育导航28
   设计风格：柔光层叠 · 莫兰迪粉绿渐变
   色彩：浅米白底 + 鼠尾草绿(#9DC08B) + 淡粉(#F2D5D5) + 暖灰
   字体：系统中文，轻盈字重对比
   ============================================ */

/* 基础重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background: #FAF7F2;  /* 暖米白基底 */
  color: #3D3D3D;
  line-height: 1.6;
}

/* 核心布局 — 居中 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section:nth-child(even) {
  background: #F5F0EB;  /* 浅米灰交替 */
}

/* 导航 — 固定顶部 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(157, 192, 139, 0.25);
  transition: box-shadow 0.3s;
}

.site-header:hover {
  box-shadow: 0 2px 20px rgba(157, 192, 139, 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.25rem;
  text-decoration: none;
  color: #4A6741;
  letter-spacing: 0.5px;
}

.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, #9DC08B, #B2D8A5);
  color: #fff;
  box-shadow: 0 2px 8px rgba(157, 192, 139, 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: #5A5A5A;
  transition: color 0.25s, transform 0.2s;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #9DC08B;
  transition: width 0.3s;
}

.main-nav a:hover {
  color: #4A6741;
  transform: translateY(-1px);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 22px;
  border-radius: 30px;
  color: #fff !important;
  font-weight: 600;
  background: linear-gradient(135deg, #9DC08B, #7FAF6E);
  box-shadow: 0 2px 12px rgba(157, 192, 139, 0.35);
  transition: box-shadow 0.3s, transform 0.2s;
}

.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(157, 192, 139, 0.5);
  transform: translateY(-2px);
}

.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #4A6741;
  cursor: pointer;
  padding: 4px 8px;
}

/* 首页Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(120deg, #FAF7F2 0%, #F2EBE2 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(242, 213, 213, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
  background: rgba(157, 192, 139, 0.15);
  color: #5A7D4E;
  border: 1px solid rgba(157, 192, 139, 0.25);
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #3A4F33;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero h1 span {
  color: #7FAF6E;
  position: relative;
}

.hero h1 span::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(242, 213, 213, 0.5);
  z-index: -1;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.65;
  max-width: 560px;
  margin-bottom: 34px;
  color: #5C5C5C;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(157, 192, 139, 0.12);
  border: 1px solid rgba(157, 192, 139, 0.1);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 0.95rem;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #9DC08B, #7FAF6E);
  box-shadow: 0 4px 16px rgba(157, 192, 139, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(157, 192, 139, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #9DC08B;
  color: #4A6741;
}

.btn-outline:hover {
  background: rgba(157, 192, 139, 0.08);
  border-color: #7FAF6E;
  transform: translateY(-2px);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  margin-bottom: 14px;
  color: #9DC08B;
  text-transform: uppercase;
  position: relative;
  padding-left: 28px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 2px;
  background: #9DC08B;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: #3A4F33;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.6;
  margin-bottom: 44px;
  color: #5C5C5C;
  line-height: 1.7;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 16px;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid rgba(157, 192, 139, 0.15);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 12px rgba(157, 192, 139, 0.04);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(157, 192, 139, 0.12);
  border-color: rgba(157, 192, 139, 0.3);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #F2D5D5, #F5E1E1);
  color: #8B6F6F;
  transition: transform 0.3s;
}

.category-card:hover .card-icon {
  transform: scale(1.05) rotate(-3deg);
}

.category-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #3A4F33;
}

.category-card p {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 16px;
  line-height: 1.6;
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #7FAF6E;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}

.card-link:hover {
  gap: 12px;
  color: #4A6741;
}

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(157, 192, 139, 0.1);
  border: 1px solid rgba(157, 192, 139, 0.08);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text h3 {
  font-size: 1.6rem;
  color: #3A4F33;
  margin-bottom: 16px;
}

.feature-text p {
  opacity: 0.6;
  margin-bottom: 24px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '✦';
  font-weight: 700;
  color: #9DC08B;
  font-size: 0.8rem;
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(157, 192, 139, 0.1);
  box-shadow: 0 2px 12px rgba(157, 192, 139, 0.04);
  transition: transform 0.3s;
}

.stat-item:hover {
  transform: translateY(-3px);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: #3A4F33;
  line-height: 1;
}

.stat-number::after {
  content: '+';
  color: #9DC08B;
  font-size: 1.8rem;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.55;
  margin-top: 8px;
  color: #5C5C5C;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(157, 192, 139, 0.1);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 12px rgba(157, 192, 139, 0.04);
}

.content-wall-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(157, 192, 139, 0.1);
  border-color: rgba(157, 192, 139, 0.2);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s;
}

.content-wall-item:hover img {
  transform: scale(1.03);
}

.content-wall-body {
  padding: 22px 20px 24px;
}

.content-wall-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #3A4F33;
}

.content-wall-body p {
  font-size: 0.85rem;
  opacity: 0.55;
  line-height: 1.6;
}

.content-wall-body .card-link {
  margin-top: 12px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(157, 192, 139, 0.15);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: box-shadow 0.3s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(157, 192, 139, 0.06);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #3A4F33;
  font-size: 1rem;
}

.faq-item .faq-question::after {
  content: '▾';
  font-size: 0.8rem;
  color: #9DC08B;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.65;
  line-height: 1.7;
  color: #5C5C5C;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA横幅 */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #9DC08B, #7FAF6E, #B2D8A5);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 12px;
  position: relative;
}

.cta-banner p {
  opacity: 0.85;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #4A6741;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  position: relative;
}

.cta-banner .btn-primary:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* 页脚 */
.site-footer {
  padding: 60px 0 28px;
  background: #F5F0EB;
  border-top: 1px solid rgba(157, 192, 139, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand h3 {
  color: #3A4F33;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.footer-brand p {
  opacity: 0.55;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: #3A4F33;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  text-decoration: none;
  color: #5C5C5C;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  color: #4A6741;
}

.footer-bottom {
  border-top: 1px solid rgba(157, 192, 139, 0.12);
  margin-top: 44px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
  color: #5C5C5C;
}

/* 工具类 */
.text-accent {
  color: #9DC08B;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.55;
  line-height: 1.7;
  color: #5C5C5C;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ⚠️ 响应式 */
@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .main-nav {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .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(12px);
    padding: 24px 28px;
    gap: 20px;
    border-bottom: 1px solid rgba(157, 192, 139, 0.15);
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 1.7rem;
  }
  
  .cta-banner {
    padding: 48px 20px;
  }
  
  .cta-banner h2 {
    font-size: 1.5rem;
  }
}

@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;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero {
    min-height: 60vh;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}