/* ============================================
   b体育平台 - 完整CSS设计系统
   风格：温暖流体·薄荷珊瑚·有机极简
   ============================================ */

/* 基础重置 */
*, *::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: #fefaf6;
  color: #2d3436;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* 核心布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #f5fbf9;
}

/* 导航 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.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: #2d3436;
  letter-spacing: -0.02em;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.8;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #06b894, #00c9a7);
  color: #fff;
  font-weight: 800;
}

.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: #5a6c6d;
  transition: color 0.2s;
  position: relative;
}

.main-nav a:hover {
  color: #06b894;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #06b894;
  border-radius: 2px;
  transition: width 0.25s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 22px !important;
  border-radius: 24px !important;
  color: #fff !important;
  font-weight: 600 !important;
  background: linear-gradient(135deg, #ff6b6b, #ff8787) !important;
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.25);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.35);
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #2d3436;
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 72% 28%, rgba(255, 107, 107, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 28% 65%, rgba(6, 184, 148, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(253, 203, 110, 0.05) 0%, transparent 60%),
    #fefaf6;
  padding-top: 68px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-content {
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  background: rgba(255, 107, 107, 0.1);
  color: #ff6b6b;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.18;
  margin-bottom: 20px;
  font-weight: 800;
  color: #2d3436;
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #06b894, #00c9a7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.7;
  max-width: 560px;
  margin-bottom: 34px;
  color: #5a6c6d;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #e6f9f5, #fef5f5, #fffbf0);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 60% 40%, rgba(6, 184, 148, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 30% 60%, rgba(255, 107, 107, 0.18) 0%, transparent 45%);
  border-radius: 16px;
}

.hero-image img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

/* 按钮 */
.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.25s ease;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #06b894, #00c9a7);
  box-shadow: 0 4px 16px rgba(6, 184, 148, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 184, 148, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #06b894;
  color: #06b894;
}

.btn-outline:hover {
  background: #06b894;
  color: #fff;
  transform: translateY(-2px);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: #ff6b6b;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
  font-weight: 800;
  color: #2d3436;
  letter-spacing: -0.02em;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 40px;
  color: #5a6c6d;
  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: 14px;
  padding: 30px 26px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #06b894, #00c9a7, #06b894);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 0 0 3px 3px;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
  border-color: transparent;
}

.category-card:hover::before {
  opacity: 1;
}

.category-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2d3436;
}

.category-card p {
  font-size: 0.9rem;
  color: #5a6c6d;
  line-height: 1.6;
  margin-bottom: 16px;
}

.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: #e6f9f5;
  color: #06b894;
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #06b894;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s;
}

.card-link:hover {
  gap: 10px;
}

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #f0faf7, #fef5f5);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image img {
  width: 100%;
  height: auto;
}

.feature-text h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #2d3436;
}

.feature-text p {
  color: #5a6c6d;
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #2d3436;
}

.feature-list li::before {
  content: '✓';
  font-weight: 700;
  color: #06b894;
  font-size: 1rem;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e6f9f5;
  border-radius: 50%;
  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: 14px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: #06b894;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  color: #5a6c6d;
}

/* 内容墙 */
.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 rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  background: #fff;
}

.content-wall-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.content-wall-body {
  padding: 22px;
}

.content-wall-body .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  background: #e6f9f5;
  color: #06b894;
  margin-bottom: 8px;
}

.content-wall-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 6px;
  line-height: 1.4;
}

.content-wall-body p {
  font-size: 0.85rem;
  color: #5a6c6d;
  line-height: 1.5;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.06);
  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: rgba(6, 184, 148, 0.2);
}

.faq-item.open {
  border-color: #06b894;
  box-shadow: 0 4px 16px rgba(6, 184, 148, 0.08);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2d3436;
  font-size: 1rem;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: #06b894;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.7;
  color: #5a6c6d;
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA横幅 */
.cta-banner {
  padding: 60px 30px;
  text-align: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(140deg, #06b894 0%, #00b4a0 30%, #fdcb6e 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 35%);
  border-radius: 18px;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #06b894;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.cta-banner .btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* 页脚 */
.site-footer {
  padding: 56px 0 28px;
  background: #f8f3ed;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  color: #2d3436;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  color: #5a6c6d;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #5a6c6d;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #06b894;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 40px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  color: #8a9a9b;
}

/* 工具类 */
.text-accent {
  color: #ff6b6b;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: #5a6c6d;
  line-height: 1.7;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* 高亮文字 */
.highlight-green {
  color: #06b894;
}

.highlight-coral {
  color: #ff6b6b;
}

/* 装饰分隔线 */
.divider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #06b894;
  display: inline-block;
  margin: 0 8px;
  opacity: 0.5;
}

/* 页面加载淡入 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero {
    min-height: auto;
    padding: 40px 0 60px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-image {
    aspect-ratio: 16/9;
    max-width: 500px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-block {
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .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: #fff;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    gap: 4px;
  }

  .main-nav.open a {
    padding: 12px 0;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  .main-nav.open .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .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: 24px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .hero {
    padding: 24px 0 48px;
  }

  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .category-card {
    padding: 22px 18px;
  }

  .stat-item {
    padding: 20px 14px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .cta-banner {
    padding: 40px 20px;
    border-radius: 14px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.9rem;
  }
}

/* 打印样式 */
@media print {
  .site-header,
  .site-footer,
  .cta-banner,
  .menu-toggle {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section {
    padding: 20px 0;
    page-break-inside: avoid;
  }
}