// 引入缩放调整样式
@use './scale-adjustments';

/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #333333;
  line-height: 1;
  
  // 默认CSS变量，可被缩放调整覆盖
  --base-padding: 20px;
  --base-margin: 16px;
  --header-height: 70px;
}

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

ul,
ol {
  list-style: none;
}

/* 容器样式 */
.container {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
}

/* 通用按钮样式 */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #1890ff, #00b4d8);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0077b6, #0096c7);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #1890ff;
  border: 2px solid #1890ff;
}

.btn-outline:hover {
  background: #1890ff;
  color: white;
}

/* 标题样式 */
.section-title {
  font-size: 32px;
  font-weight: 600;
  color: #333333;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: #666666;
  text-align: center;
  margin-bottom: 48px;
}

/* 卡片样式 */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 响应式 */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}