html {
  font-size: 14px;
}


/* 基础样式和变量 */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3a73b9;
  --accent-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #333;
  --light-text: #fff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;

  --article-light-color: #777;
  --bg-color: #fff;
  --card-bg: #f9f9f9;
  --border-color: #e0e0e0;
  --code-bg: #f5f5f5;
  --blockquote-bg: #f8f9fa;
  --blockquote-border: #3498db;

}


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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

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


ol,
ul,
dl {
  list-style: none;
  margin-top: 0;
  margin-bottom: 1rem;
}


.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}


/* 导航栏样式 */
header {
  background-color: var(--light-text);
  box-shadow: var(--shadow);
  border-bottom: 1px solid #e0e0e0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: 80px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 1.8rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo img {
  height: 40px;
  display: block;
}

.logo span {
  color: var(--secondary-color);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

.main {
  margin-top: 80px;
}



/* 页脚 */
footer {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 60px 0 30px;
}

footer ol,
footer ul {
  padding-left: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}


.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}



/* 移动端适配 */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--light-text);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    transition: var(--transition);
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    left: 0;
  }

}



/* 1. 容器样式：深邃的专业渐变 */
.footer-cta-banner {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #6a11cb 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 2. 背景装饰形状 (增加层次感) */
.cta-bg-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1;
  animation: floatShape 20s infinite linear;
}

.cta-shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -50px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-shape-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: 10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  animation-delay: -5s;
}

/* 3. 标题与文本优化 */
.cta-title {
  font-size: 2.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-subtitle {
  max-width: 90%;
  color: #e0e0e0;
}

/* 4. 徽章样式 */
.cta-badge {
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ls-1 {
  letter-spacing: 1px;
}

/* 5. 核心按钮样式：高亮橙色互补色 */
.btn-cta-primary {
  background: linear-gradient(45deg, #ff9966, #ff5e62) !important;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.btn-cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
  transition: 0.5s;
}

.btn-cta-primary:hover::before {
  left: 100%;
}

.btn-cta-primary:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(255, 94, 98, 0.4) !important;
  color: #fff;
}

/* 箭头微动画 */
.icon-anim {
  transition: transform 0.3s ease;
}

.btn-cta-primary:hover .icon-anim {
  transform: translateX(5px);
}

/* 悬浮效果 */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 移动端适配 */
@media (max-width: 991px) {
  .footer-cta-banner {
    text-align: center;
    padding: 3rem 1rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-subtitle {
    max-width: 100%;
    margin: 0 auto;
  }

  .mt-4.d-flex {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem !important;
  }

  .col-lg-4 {
    margin-top: 2rem;
  }

  .btn-cta-primary {
    width: 100%;
    justify-content: center;
  }
}