/* ========================================
   学而升本官网 - Header 导航栏
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* Logo 区域 */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #014DB2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.header__brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.header__brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #0A1628;
  font-family: 'Inter', sans-serif;
}

.header__brand-tagline {
  font-size: 11px;
  color: #6B7280;
}

/* 导航链接 */
.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav-link {
  font-size: 15px;
  color: #0A1628;
  transition: color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.header__nav-link:hover {
  color: #014DB2;
}

.header__nav-link--active {
  color: #014DB2;
  font-weight: 600;
}

/* CTA 按钮 */
.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 50px;
  background: #014DB2;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.header__cta:hover {
  background: #001B4D;
}

/* 移动端汉堡菜单 */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.header__hamburger span {
  width: 24px;
  height: 2px;
  background: #0A1628;
  border-radius: 2px;
  transition: all 0.3s;
}

/* 移动端导航菜单 */
@media (max-width: 1024px) {
  .header {
    padding: 0 24px;
  }

  .header__nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }

  .header__nav--open {
    display: flex;
  }

  .header__hamburger {
    display: flex;
  }

  .header__cta {
    display: none;
  }
}
