/* ============== 基础变量与全局 ============== */
:root {
  --brand-orange: #ff6b35;
  --brand-orange-dark: #e85a25;
  --brand-orange-light: #ff8a5b;
  --brand-yellow: #ffb800;
  --brand-yellow-light: #ffc933;
  --brand-dark: #1a1a2e;
  --brand-text: #333333;
  --brand-text-light: #666666;
  --brand-bg: #ffffff;
  --brand-bg-soft: #f5f7fa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--brand-text);
  background-color: var(--brand-bg);
  font-size: 14px;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

/* ============== 通用动画 keyframes ============== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes shine {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(255,107,53,0.4), inset 0 0 30px rgba(255,107,53,0.1); }
  50% { box-shadow: 0 0 50px rgba(255,107,53,0.7), inset 0 0 50px rgba(255,107,53,0.2); }
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }
.animate-scale-in { animation: scaleIn 0.6s ease-out forwards; }

/* ============== 渐变文字 ============== */
.gradient-text {
  background: linear-gradient(90deg, #ff6b35 0%, #ffb800 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============== 通用按钮 ============== */
.btn-primary {
  background: linear-gradient(90deg, #ff6b35 0%, #ff8a5b 100%);
  color: white;
  padding: 10px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

/* ============== 区块标题 ============== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 36px;
  font-weight: bold;
  color: #1a1a2e;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-title h2::before,
.section-title h2::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff6b35);
}
.section-title h2::before {
  right: calc(100% + 20px);
  background: linear-gradient(90deg, transparent, #ff6b35);
}
.section-title h2::after {
  left: calc(100% + 20px);
  background: linear-gradient(90deg, #ff6b35, transparent);
}
.section-title p {
  font-size: 16px;
  color: #666;
  margin-top: 8px;
}

/* ============== 卡片 hover ============== */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

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

/* ============== 渐变背景 ============== */
.gradient-orange {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8a5b 100%);
}
.gradient-dark {
  background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4e 100%);
}

/* ============== 隐藏滚动条 ============== */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
