/* 皇冠体育官方网站 - style.css */
/* 变量定义 */
:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #f0c040;
  --accent-light: #f5d86e;
  --accent-dark: #c99f2a;
  --bg-dark: #0f0f1a;
  --bg-card: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(255, 255, 255, 0.12);
  --text-primary: #f0f0f0;
  --text-secondary: #b0b0c0;
  --text-muted: #7a7a8a;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* 亮色模式变量 */
@media (prefers-color-scheme: light) {
  :root {
    --bg-dark: #f5f5fa;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.6);
    --text-primary: #1a1a2e;
    --text-secondary: #3a3a4e;
    --text-muted: #6a6a7e;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
}

/* 暗色模式类（手动切换） */
body.dark-mode {
  --bg-dark: #0f0f1a;
  --bg-card: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(255, 255, 255, 0.12);
  --text-primary: #f0f0f0;
  --text-secondary: #b0b0c0;
  --text-muted: #7a7a8a;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
}

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

a:hover, a:focus {
  color: var(--accent-light);
  text-decoration: underline;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* 无障碍 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 渐变背景装饰 */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 20%, rgba(240, 192, 64, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(26, 26, 46, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* 滚动动画基础 */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

body.dark-mode header {
  background: rgba(15, 15, 26, 0.85);
}

@media (prefers-color-scheme: light) {
  header {
    background: rgba(245, 245, 250, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
}

nav[role="navigation"] {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

nav[role="navigation"] > a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

nav[role="navigation"] > a span {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav[role="navigation"] ul {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

nav[role="navigation"] ul li a {
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}

nav[role="navigation"] ul li a:hover,
nav[role="navigation"] ul li a:focus {
  background: var(--bg-card);
  color: var(--accent);
  text-decoration: none;
}

nav[role="navigation"] button {
  padding: 0.5rem;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

nav[role="navigation"] button:hover {
  background: var(--bg-card);
  color: var(--accent);
}

#mobile-menu-toggle {
  display: none;
}

/* Hero Section */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 1.5rem 4rem;
}

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide {
  position: absolute;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
  padding: 2rem;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  position: relative;
}

.hero-slide h1,
.hero-slide h2 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-light), #ffd54f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero-slide h1 span {
  display: block;
  font-size: 0.6em;
  opacity: 0.9;
}

.hero-slide p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(240, 192, 64, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(240, 192, 64, 0.5);
  color: var(--primary);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
  text-decoration: none;
}

.hero-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
  z-index: 2;
}

.hero-controls button {
  pointer-events: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.hero-controls button:hover {
  background: var(--accent);
  color: var(--primary);
  transform: scale(1.1);
}

.hero-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 2;
}

.hero-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid transparent;
  transition: var(--transition);
}

.hero-indicators button[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
}

.hero-indicators button:hover {
  background: var(--accent);
}

/* 通用Section样式 */
main > section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 1;
}

main > section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

main > section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

main > section p {
  color: var(--text-secondary);
  max-width: 800px;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* 毛玻璃卡片 */
.stats-grid, .team-grid, .products-grid, .services-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat-item {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.stat-item span:nth-child(2) {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 600;
}

.stat-item span:nth-child(3) {
  display: block;
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 团队卡片 */
.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.team-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.team-card svg {
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--bg-glass);
  padding: 0.5rem;
}

.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.team-card p:first-of-type {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.team-card p:last-of-type {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* 产品卡片 */
.products-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.product-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: var(--transition);
}

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

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(240, 192, 64, 0.3);
}

.product-card svg {
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.product-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* 服务网格 */
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.service-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.service-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* 行业列表 */
#industries ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

#industries ul li {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#industries ul li::before {
  content: '▸';
  color: var(--accent);
  font-weight: bold;
}

#industries ul li:hover {
  background: var(--bg-glass);
  transform: translateX(5px);
}

/* 特性列表 */
#features ul {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

#features ul li {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

#features ul li:hover {
  background: var(--bg-glass);
  transform: translateX(5px);
}

#features ul li strong {
  color: var(--accent);
}

/* 评价区块 */
#testimonials blockquote {
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  transition: var(--transition);
}

#testimonials blockquote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

#testimonials blockquote p {
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

#testimonials blockquote footer {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

/* 案例研究 */
#case-studies article {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

#case-studies article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

#case-studies article h3 {
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

#case-studies article p {
  margin-bottom: 0;
}

/* 资讯文章 */
#insights article {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

#insights article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

#insights article h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

#insights article p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

#insights article time {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* 知识中心 */
#knowledge article {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

#knowledge article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

#knowledge article h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

#knowledge article p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

#knowledge article a {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

/* FAQ */
#faq dl {
  display: grid;
  gap: 1rem;
}

#faq dt button {
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#faq dt button::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s;
}

#faq dt button[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

#faq dt button:hover {
  background: var(--bg-glass);
  border-color: var(--accent);
}

#faq dd {
  padding: 0 1.5rem 1.2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  margin-top: -0.5rem;
}

/* HowTo */
#howto ol {
  counter-reset: step;
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

#howto ol li {
  counter-increment: step;
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
}

#howto ol li::before {
  content: counter(step);
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

#howto ol li:hover {
  background: var(--bg-glass);
  transform: translateX(5px);
}

#howto ol li strong {
  color: var(--accent);
}

/* 联系地址 */
#contact address {
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2rem;
  font-style: normal;
  display: grid;
  gap: 0.75rem;
}

#contact address p {
  margin-bottom: 0;
  font-size: 1rem;
}

#contact address strong {
  color: var(--accent);
}

#contact address a {
  color: var(--accent);
  font-weight: 500;
}

/* Footer */
footer[role="contentinfo"] {
  background: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

footer nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

footer nav ul {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

footer nav ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

footer nav ul li a:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

/* 搜索模态框 */
#search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

#search-modal[hidden] {
  display: flex !important;
  opacity: 0;
  pointer-events: none;
}

#search-modal:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}

#search-modal form {
  width: 100%;
  max-width: 600px;
  display: flex;
  gap: 0.75rem;
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#search-modal input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.1rem;
  outline: none;
  padding: 0.5rem 0;
}

#search-modal input::placeholder {
  color: var(--text-muted);
}

#search-modal button[type="submit"] {
  background: var(--accent);
  color: var(--primary);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

#search-modal button[type="submit"]:hover {
  background: var(--accent-light);
  transform: scale(1.02);
}

#search-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

#search-close:hover {
  background: var(--accent);
  color: var(--primary);
}

/* 返回顶部按钮 */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(240, 192, 64, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(240, 192, 64, 0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
  nav[role="navigation"] ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 15, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 0.5rem;
  }

  body.dark-mode nav[role="navigation"] ul {
    background: rgba(15, 15, 26, 0.98);
  }

  @media (prefers-color-scheme: light) {
    nav[role="navigation"] ul {
      background: rgba(245, 245, 250, 0.98);
    }
  }

  nav[role="navigation"].menu-open ul {
    display: flex;
  }

  nav[role="navigation"] ul li a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 100%;
    text-align: center;
  }

  #mobile-menu-toggle {
    display: flex;
  }

  .hero-slide {
    padding: 1rem;
  }

  .hero-controls button {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  main > section {
    padding: 3rem 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .team-grid, .products-grid, .services-grid {
    grid-template-columns: 1fr;
  }

  footer nav {
    flex-direction: column;
    gap: 1.5rem;
  }

  #search-modal form {
    flex-direction: column;
    border-radius: var(--radius);
    padding: 1rem;
  }

  #search-modal input {
    width: 100%;
  }

  #search-modal button[type="submit"] {
    width: 100%;
  }

  #back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  nav[role="navigation"] {
    padding: 0.5rem 1rem;
  }

  nav[role="navigation"] > a span {
    display: none;
  }

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

  .stat-item {
    padding: 1.5rem 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

/* 动画支持 */
@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;
  }
}