/* ========================================
   学而升本官网 - 全局重置与基础样式
   ======================================== */

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

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

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: #0A1628;
  background: #F9F9F9;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul, ol {
  list-style: none;
}

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

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

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

/* 通用区块标题 */
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #0A1628;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 17px;
  color: #6B7280;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 40px;
}

/* 通用卡片样式 */
.card {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid #E5E7EB;
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(1, 77, 178, 0.1);
}

/* 通用标签 */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
}

.tag-blue {
  background: #E8F0FE;
  color: #014DB2;
}

.tag-green {
  background: #D1FAE5;
  color: #047857;
}

.tag-amber {
  background: #FEF3C7;
  color: #92400E;
}

.tag-purple {
  background: #EDE9FE;
  color: #6D28D9;
}

/* 通用 CTA 按钮 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 50px;
  background: #F59E0B;
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  background: #D97706;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 50px;
  background: transparent;
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 500;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* 数字圆圈 */
.num-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

/* 步骤编号圆圈 */
.step-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
}

/* 头像圆圈 */
.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}

/* 信任数据 */
.trust-number {
  font-size: 28px;
  font-weight: 700;
}

.trust-label {
  font-size: 13px;
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

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