/* ============================================
   style.css - MK体育网页版 完整样式
   包含：渐变Banner、圆角卡片、毛玻璃效果、
   响应式布局、暗色模式、滚动动画、hover动画
   ============================================ */

/* 基础重置与全局变量 */
:root {
  --primary: #e94560;
  --primary-hover: #d63851;
  --bg-light: #f4f6f9;
  --bg-dark: #0f0f23;
  --surface-light: #ffffff;
  --surface-dark: #1a1a2e;
  --surface-card-light: #ffffff;
  --surface-card-dark: #16213e;
  --text-light: #1a1a2e;
  --text-dark: #e0e0e0;
  --border-light: #e8e8e8;
  --border-dark: #2a2a4a;
  --nav-link: #a0a0c0;
  --nav-link-hover: #e94560;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 滚动动画基础 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* 全局样式 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-light);
  color: var(--text-light);
  line-height: 1.7;
  transition: background var(--transition), color var(--transition);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* 暗色模式 */
@media (prefers-color-scheme: dark) {
  body {
    background: var(--bg-dark);
    color: var(--text-dark);
  }
  header, section, article, aside, footer {
    background: var(--surface-dark);
    color: var(--text-dark);
  }
  .card, .faq-item, .article-item {
    background: var(--surface-card-dark);
    border-color: var(--border-dark);
  }
  nav a {
    color: var(--nav-link);
  }
  nav a:hover, nav a.active {
    color: var(--nav-link-hover);
  }
  section, article, aside {
    border-color: var(--border-dark);
  }
  .hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  }
  .banner-slide {
    background: #16213e;
  }
  #back-to-top {
    background: var(--primary);
    color: #fff;
  }
  footer {
    background: var(--surface-dark);
    color: #aaa;
  }
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* 滚动动画：为各区块添加淡入上移效果 */
section, article, aside, .hero, .banner-carousel, footer {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

section:nth-child(2), article:nth-child(2) {
  animation-delay: 0.1s;
}

section:nth-child(3), article:nth-child(3) {
  animation-delay: 0.2s;
}

section:nth-child(4), article:nth-child(4) {
  animation-delay: 0.3s;
}

section:nth-child(5), article:nth-child(5) {
  animation-delay: 0.4s;
}

section:nth-child(6), article:nth-child(6) {
  animation-delay: 0.5s;
}

section:nth-child(7), article:nth-child(7) {
  animation-delay: 0.6s;
}

section:nth-child(8), article:nth-child(8) {
  animation-delay: 0.7s;
}

section:nth-child(9), article:nth-child(9) {
  animation-delay: 0.8s;
}

section:nth-child(10), article:nth-child(10) {
  animation-delay: 0.9s;
}

/* 卡片动画 */
.card, .article-item, .faq-item {
  animation: scaleIn 0.6s ease forwards;
  opacity: 0;
}

.card:nth-child(1), .article-item:nth-child(1), .faq-item:nth-child(1) {
  animation-delay: 0.1s;
}

.card:nth-child(2), .article-item:nth-child(2), .faq-item:nth-child(2) {
  animation-delay: 0.2s;
}

.card:nth-child(3), .article-item:nth-child(3), .faq-item:nth-child(3) {
  animation-delay: 0.3s;
}

.card:nth-child(4), .article-item:nth-child(4), .faq-item:nth-child(4) {
  animation-delay: 0.4s;
}

.card:nth-child(5), .article-item:nth-child(5), .faq-item:nth-child(5) {
  animation-delay: 0.5s;
}

.card:nth-child(6), .article-item:nth-child(6), .faq-item:nth-child(6) {
  animation-delay: 0.6s;
}

.card:nth-child(7), .article-item:nth-child(7), .faq-item:nth-child(7) {
  animation-delay: 0.7s;
}

.card:nth-child(8), .article-item:nth-child(8), .faq-item:nth-child(8) {
  animation-delay: 0.8s;
}

.card:nth-child(9), .article-item:nth-child(9), .faq-item:nth-child(9) {
  animation-delay: 0.9s;
}

.card:nth-child(10), .article-item:nth-child(10), .faq-item:nth-child(10) {
  animation-delay: 1.0s;
}

/* 头部导航 */
header {
  background: var(--surface-dark);
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color var(--transition);
}

.logo:hover {
  color: var(--primary-hover);
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background var(--transition);
}

.hamburger:hover {
  background: rgba(255,255,255,0.1);
}

/* 响应式导航 */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
    background: var(--surface-dark);
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: block;
  }
  .nav-links a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-links a::after {
    display: none;
  }
}

/* 通用区块 */
section, article, aside {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-light);
}

/* 标题 */
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

p {
  margin-bottom: 16px;
}

/* Hero 区域 - 渐变Banner */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(233,69,96,0.1) 0%, transparent 70%);
  animation: shimmer 8s infinite linear;
  background-size: 200% 200%;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  z-index: 1;
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233,69,96,0.4);
}

.btn:active {
  transform: translateY(0);
}

/* 网格布局 */
.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.grid-4 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* 卡片 - 圆角卡片 + 毛玻璃效果 */
.card {
  background: var(--surface-card-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}

/* 毛玻璃效果（支持浏览器） */
@supports (backdrop-filter: blur(10px)) {
  .card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
  @media (prefers-color-scheme: dark) {
    .card {
      background: rgba(22, 33, 62, 0.8);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }
  }
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #ff6b6b, var(--primary));
  background-size: 200% 100%;
  animation: shimmer 3s infinite linear;
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* 暗色模式卡片 */
@media (prefers-color-scheme: dark) {
  .card {
    background: var(--surface-card-dark);
    border-color: var(--border-dark);
  }
}

/* FAQ 项目 */
.faq-item {
  background: var(--surface-card-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(233,69,96,0.15);
}

@media (prefers-color-scheme: dark) {
  .faq-item {
    background: var(--surface-card-dark);
    border-color: var(--border-dark);
  }
}

.faq-question {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: inherit;
  font-size: 1rem;
  transition: background var(--transition);
}

.faq-question:hover {
  background: rgba(233,69,96,0.05);
}

.faq-question::after {
  content: "▼";
  font-size: 0.8rem;
  transition: transform var(--transition);
  color: var(--primary);
}

.faq-item.open .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 16px;
  display: none;
  animation: fadeInUp 0.3s ease;
}

.faq-item.open .faq-answer {
  display: block;
}

/* 文章卡片 */
.article-item {
  background: var(--surface-card-light);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.article-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

@media (prefers-color-scheme: dark) {
  .article-item {
    background: var(--surface-card-dark);
    border-color: var(--border-dark);
  }
}

.article-item a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

.article-item a:hover {
  text-decoration: underline;
  color: var(--primary-hover);
}

/* HowTo 步骤 */
.howto-step {
  margin-bottom: 20px;
  padding-left: 40px;
  position: relative;
  animation: slideInLeft 0.5s ease forwards;
  opacity: 0;
}

.howto-step:nth-child(1) { animation-delay: 0.1s; }
.howto-step:nth-child(2) { animation-delay: 0.2s; }
.howto-step:nth-child(3) { animation-delay: 0.3s; }
.howto-step:nth-child(4) { animation-delay: 0.4s; }
.howto-step:nth-child(5) { animation-delay: 0.5s; }

.howto-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--primary);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.howto-step:hover::before {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(233,69,96,0.4);
}

/* 返回顶部按钮 */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.4rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 99;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

#back-to-top.visible {
  display: flex;
}

#back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(233,69,96,0.4);
}

#back-to-top:active {
  transform: translateY(0) scale(0.95);
}

/* 页脚 */
footer {
  background: var(--surface-dark);
  color: #aaa;
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}

footer a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

footer a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

footer .legal-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

footer .legal-links a {
  padding: 4px 8px;
  border-radius: 4px;
  transition: background var(--transition);
}

footer .legal-links a:hover {
  background: rgba(233,69,96,0.1);
}

/* Banner 轮播 */
.banner-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
}

.banner-slide {
  display: none;
  padding: 40px;
  background: #16213e;
  color: #fff;
  text-align: center;
  animation: fadeInUp 0.5s ease;
}

.banner-slide.active {
  display: block;
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.banner-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.banner-dots button:hover {
  transform: scale(1.2);
}

.banner-dots button.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* 图片 */
img[loading="lazy"] {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  transition: opacity var(--transition);
}

img[loading="lazy"]:hover {
  opacity: 0.9;
}

/* 辅助类 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* 列表样式 */
ul, ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

li {
  margin-bottom: 8px;
}

/* 表格样式（备用） */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

th, td {
  padding: 12px;
  border: 1px solid var(--border-light);
  text-align: left;
}

@media (prefers-color-scheme: dark) {
  th, td {
    border-color: var(--border-dark);
  }
}

/* 响应式调整 */
@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  section, article, aside {
    padding: 40px 0;
  }
  .banner-slide {
    padding: 24px;
  }
  .card {
    padding: 16px;
  }
  #back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
  }
  .container {
    padding: 0 16px;
  }
}

/* 打印样式 */
@media print {
  header, footer, #back-to-top, .banner-carousel {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
  .card {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}

/* 选中文本样式 */
::selection {
  background: var(--primary);
  color: #fff;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

@media (prefers-color-scheme: dark) {
  ::-webkit-scrollbar-thumb {
    background: #444;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
}

/* 焦点样式 */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* 暗色模式下的焦点 */
@media (prefers-color-scheme: dark) {
  :focus-visible {
    outline-color: var(--primary);
  }
}

/* 禁用状态 */
.btn:disabled,
.card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* 超小屏设备 */
@media (max-width: 360px) {
  .logo {
    font-size: 1.2rem;
  }
  .nav-links a {
    font-size: 0.85rem;
  }
  .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
  .card {
    border-width: 2px;
  }
  .btn {
    border: 2px solid currentColor;
  }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* 暗色模式下的额外调整 */
@media (prefers-color-scheme: dark) {
  .hero::before {
    background: radial-gradient(circle, rgba(233,69,96,0.15) 0%, transparent 70%);
  }
  .faq-question:hover {
    background: rgba(233,69,96,0.1);
  }
  footer .legal-links a:hover {
    background: rgba(233,69,96,0.15);
  }
}

/* 卡片内容样式 */
.card h3 {
  color: var(--primary);
  margin-bottom: 12px;
}

.card p {
  color: inherit;
  opacity: 0.9;
}

/* 网格卡片统一高度 */
.grid-2 .card,
.grid-3 .card,
.grid-4 .card {
  display: flex;
  flex-direction: column;
}

.grid-2 .card p,
.grid-3 .card p,
.grid-4 .card p {
  flex: 1;
}

/* 列表样式增强 */
ul li strong {
  color: var(--primary);
}

/* 区块标题居中 */
section h2,
article h2 {
  display: block;
  text-align: center;
}

section h2::after,
article h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* 页脚版权文本 */
footer p {
  margin-bottom: 8px;
}

/* 联系信息样式 */
#contact ul {
  list-style: none;
  padding: 0;
}

#contact ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

@media (prefers-color-scheme: dark) {
  #contact ul li {
    border-color: var(--border-dark);
  }
}

/* 用户反馈区块 */
#testimonials p {
  font-style: italic;
  padding: 16px;
  background: rgba(233,69,96,0.05);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
}

@media (prefers-color-scheme: dark) {
  #testimonials p {
    background: rgba(233,69,96,0.1);
  }
}

/* 知识中心文章 */
.article-item h3 {
  margin-bottom: 8px;
}

.article-item p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* 案例研究区块 */
#case-studies p {
  background: var(--surface-card-light);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

@media (prefers-color-scheme: dark) {
  #case-studies p {
    background: var(--surface-card-dark);
    border-color: var(--border-dark);
  }
}

/* 收益列表 */
#benefits ul {
  list-style: none;
  padding: 0;
}

#benefits ul li {
  padding: 12px 16px 12px 40px;
  position: relative;
  background: rgba(233,69,96,0.03);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  transition: background var(--transition), transform var(--transition);
}

#benefits ul li:hover {
  background: rgba(233,69,96,0.08);
  transform: translateX(4px);
}

#benefits ul li::before {
  content: '✓';
  position: absolute;
  left: 12px;
  color: var(--primary);
  font-weight: bold;
}

@media (prefers-color-scheme: dark) {
  #benefits ul li {
    background: rgba(233,69,96,0.08);
  }
  #benefits ul li:hover {
    background: rgba(233,69,96,0.15);
  }
}

/* 工作流列表 */
#workflow ol {
  list-style: none;
  counter-reset: step;
  padding: 0;
}

#workflow ol li {
  counter-increment: step;
  padding: 12px 16px 12px 50px;
  position: relative;
  background: rgba(233,69,96,0.03);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  transition: background var(--transition), transform var(--transition);
}

#workflow ol li:hover {
  background: rgba(233,69,96,0.08);
  transform: translateX(4px);
}

#workflow ol li::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.85rem;
}

@media (prefers-color-scheme: dark) {
  #workflow ol li {
    background: rgba(233,69,96,0.08);
  }
  #workflow ol li:hover {
    background: rgba(233,69,96,0.15);
  }
}

/* 企业信息区块 */
#company p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* 关于区块列表 */
#about ul {
  list-style: none;
  padding: 0;
}

#about ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

@media (prefers-color-scheme: dark) {
  #about ul li {
    border-color: var(--border-dark);
  }
}

/* 服务行业卡片 */
#industries .card {
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 32px 16px;
}

/* 特点卡片 */
#features .card h3 {
  text-align: center;
}

/* 产品、服务、解决方案卡片对齐 */
#products .card,
#services .card,
#solutions .card {
  text-align: center;
}

/* 确保所有交互元素都有过渡 */
a, button, .card, .article-item, .faq-item, .btn {
  transition: all var(--transition);
}

/* 暗色模式下的按钮 */
@media (prefers-color-scheme: dark) {
  .btn {
    background: var(--primary);
    color: #fff;
  }
  .btn:hover {
    background: var(--primary-hover);
  }
}

/* 轮播按钮暗色 */
@media (prefers-color-scheme: dark) {
  .banner-dots button {
    background: #555;
  }
  .banner-dots button.active {
    background: var(--primary);
  }
}

/* 结束 */