/* ============================================
   奥仕电子 AOS Electronics - 深色科技主题
   参考：歌尔声学(goertek.com) / 共达电声 设计风格
   主色：深海蓝黑 + 科技蓝 + 青色点缀
============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ===== SVG 图标通用样式 ===== */
.svg-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex-shrink: 0; }

:root {
  /* 主色调 - 深海科技蓝 */
  --primary:        #0066ff;
  --primary-dark:   #0044cc;
  --primary-light:  #3385ff;
  --primary-glow:   rgba(0,102,255,0.2);

  /* 青色辅助 */
  --accent:         #00d4ff;
  --accent-dark:    #00a8cc;
  --accent-light:   rgba(0,212,255,0.15);
  --accent-glow:    rgba(0,212,255,0.25);

  /* 深色背景系统 */
  --bg-dark:        #050c1a;
  --bg-dark-2:      #0a1628;
  --bg-dark-3:      #0f1e38;
  --bg-card:        rgba(255,255,255,0.04);
  --bg-card-hover:  rgba(255,255,255,0.07);

  /* 浅色内容区 */
  --bg-white:       #ffffff;
  --bg-light:       #f4f8ff;
  --bg-section:     #f8fafd;

  /* 边框 */
  --border:         rgba(255,255,255,0.08);
  --border-light:   #e2e8f0;
  --border-blue:    rgba(0,102,255,0.2);

  /* 文字 */
  --text-white:     #ffffff;
  --text-light:     rgba(255,255,255,0.85);
  --text-muted:     rgba(255,255,255,0.45);
  --text-body:      #334155;
  --text-dark:      #0f172a;

  /* 阴影 */
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.08);
  --shadow:         0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg:      0 16px 56px rgba(0,0,0,0.18);
  --shadow-xl:      0 32px 80px rgba(0,0,0,0.28);
  --shadow-blue:    0 8px 32px rgba(0,102,255,0.3);
  --shadow-glow:    0 0 40px rgba(0,212,255,0.15);

  /* 圆角 */
  --radius-sm:      6px;
  --radius:         10px;
  --radius-lg:      16px;
  --radius-xl:      24px;

  /* 过渡 */
  --transition:     0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow:0.6s cubic-bezier(0.4,0,0.2,1);

  /* 字体 */
   --font:           -apple-system, 'PingFang SC', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
   --font-en:        -apple-system, 'Helvetica Neue', Arial, 'Segoe UI', sans-serif;
}

/* ---- Google Font ---- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ---- 容器 ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ---- Section 基础 ---- */
.section { padding: 100px 0; }
.section-dark {
  background: var(--bg-dark-2);
  color: var(--text-white);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header.left { text-align: left; }
.section-header.light .section-title { color: var(--text-white); }
.section-header.light .section-desc { color: var(--text-muted); }
.section-header.light .section-tag { color: var(--accent); }
.section-header.light .section-tag::before,
.section-header.light .section-tag::after { background: var(--accent); }
.section-header.light .divider { background: linear-gradient(90deg, var(--primary), var(--accent)); }

/* Section 标签 */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-en);
}
.section-tag::before,
.section-tag::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--primary);
  opacity: 0.6;
}

/* Section 标题 */
.section-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.section-dark .section-title { color: var(--text-white); }

.section-title .accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section 描述 */
.section-desc {
  font-size: 16px;
  color: #64748b;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}
.section-header.left .section-desc { margin: 0; }

/* ---- 通用按钮 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,102,255,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}
.btn-white {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
}
.btn-white:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.45);
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(0,212,255,0.4);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* 箭头 */
.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---- 分割线 ---- */
.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 16px 0;
}
.section-header .divider { margin: 16px auto 0; }
.section-header.left .divider { margin: 16px 0 0; }

/* ---- 滚动条 ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #0a1628; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ---- 动画关键帧 ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0,212,255,0.3); }
  50%       { box-shadow: 0 0 50px rgba(0,212,255,0.6); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes data-flow {
  0%   { stroke-dashoffset: 1000; }
  100% { stroke-dashoffset: 0; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
@keyframes scroll-down {
  0%   { top: 5px; opacity: 1; }
  80%  { top: 18px; opacity: 0; }
  100% { top: 5px; opacity: 0; }
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes shimmer-line {
  0%   { left: -100%; }
  100% { left: 200%; }
}

/* ---- 入场动画（IntersectionObserver 触发）---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal-left.visible { opacity: 1; transform: none; }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal-right.visible { opacity: 1; transform: none; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* 延迟类 */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

/* ---- 返回顶部 ---- */
#backTop {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 888;
  font-size: 18px;
}
#backTop.show { opacity: 1; pointer-events: auto; }
#backTop:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,102,255,0.5);
}

/* ---- 响应式 ---- */
@media (max-width: 1280px) {
  .container { padding: 0 32px; }
}
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }
  .section-title { font-size: 34px; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 26px; }
  .section-header { margin-bottom: 40px; }
}
@media (max-width: 480px) {
  .section-title { font-size: 22px; }
}

/* SEO 友好：视觉隐藏但可被搜索引擎和屏幕阅读器读取 */
.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;
}
